colap Posted August 4, 2015 Share Posted August 4, 2015 $to = '[email protected]'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: [email protected]' . "\r\n" . 'Reply-To: [email protected]' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); Where is the password for from address? Link to comment https://forums.phpfreaks.com/topic/297614-php-mail-where-is-the-password-for-from-address/ Share on other sites More sharing options...
requinix Posted August 4, 2015 Share Posted August 4, 2015 Obviously not in there. Depends on your sendmail program's configuration. Link to comment https://forums.phpfreaks.com/topic/297614-php-mail-where-is-the-password-for-from-address/#findComment-1517967 Share on other sites More sharing options...
colap Posted August 5, 2015 Author Share Posted August 5, 2015 Obviously not in there. Depends on your sendmail program's configuration. sendmail server configurations? Link to comment https://forums.phpfreaks.com/topic/297614-php-mail-where-is-the-password-for-from-address/#findComment-1518044 Share on other sites More sharing options...
requinix Posted August 5, 2015 Share Posted August 5, 2015 Yes. The configuration for the thing you have installed on your system which provides a "sendmail" program. Remember this subject from your other threads? Link to comment https://forums.phpfreaks.com/topic/297614-php-mail-where-is-the-password-for-from-address/#findComment-1518046 Share on other sites More sharing options...
colap Posted August 5, 2015 Author Share Posted August 5, 2015 Yes. The configuration for the thing you have installed on your system which provides a "sendmail" program. Remember this subject from your other threads? Would the code's from address and sendmail from address be the same? Link to comment https://forums.phpfreaks.com/topic/297614-php-mail-where-is-the-password-for-from-address/#findComment-1518047 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.