phpmailer - Change From name PHP mail -


i have question

i have php module sends mail, , works fine, have problem.

when receive mail in name receive sitemessageadminpage@admin.com. want leave name.

i have code

$email_from2="adminpage@admin.com";     $headers .= 'from: page.com' . $email_from2 . "\r\n" .             'reply-to: ' . $email_from2 . "\r\n" .             'x-mailer: php/' . phpversion(); 

please help

if have problems sending mail(), use phpmailer library: https://github.com/phpmailer/phpmailer


Comments

Popular posts from this blog

javascript - three.js lot of meshes optimization -

smartface.io - Proper way to change color scheme for whole application -

Email notification in google apps script -