Change sender's name in welcome email

Daegaladh

Member
How could I change the sender's name in welcome emails? Because it appears as the hosting default name instead of my list name.
Only happens with welcome emails, but not with admin emails, etc.

I'm using 0.7 final.

Thanks.
 
try this:

open sources/skin.php and find:

PHP:
    //$headers .= "From: {$CONF['your_email']}\r\n";
    
    mail($email, $subject, $body, $headers, "-f{$CONF['your_email']}");

replace with:


PHP:
    $headers .= "From: {$CONF['your_email']}\r\n";
    
    mail($email, $subject, $body, $headers);

let me know it goes
 
Yeah, it worked, but what I want is that it shows the name of my list as the sender.

Edit: I figured out by myself, thanks.
PHP:
$headers .= "From: {$CONF['list_name']} <{$CONF['your_email']}>\r\n";

Btw, you should use this by default ;)
 
Agreed, dont know why it was commented out, or for how long it has been like that
 
Back
Top