colap Posted August 4, 2015 Share Posted August 4, 2015 $to = 'nobody@example.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); Where is the password for from address? Quote 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. Quote 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? Quote 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? Quote 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? Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.