2 blueyed Jun 18, 2006 16:35

blueyed wrote:
In /conf/_advanced.php look for "notify_from".
yes, that's what I thought, but it doesn't work: it still sends e-mails with the 'from' of the respondend in stead of the e-mailaddress of my domain.
Ah.. you mean with the email address that the commentor/visitor supplied?
I fear you'd need to hack it right where it happens.
Which b2evo version are you using?
blueyed wrote:
Ah.. you mean with the email address that the commentor/visitor supplied?
I fear you'd need to hack it right where it happens.
Which b2evo version are you using?
Yes! That's what I mean! B)
I use 0.9.2
htsrv/comment_post.php (near the bottom), find this segment of code :-
if( is_logged_in() )
$mail_from = $current_User->get('email');
elseif( empty( $email ) )
$mail_from = $notify_from;
else
$mail_from = "\"$author\" <$email>";
and change it to :-
$mail_from = $notify_from;
¥
wow! Quick reply!
And it works!
Tnx!
No problem ;)
¥
In /conf/_advanced.php look for "notify_from".