This question may have already been answered on this forum, I've looked through the PHP posts on the "mail()" function and I haven't found my answer. If anyone can direct me to an answer, or answer my question yourself, I'd be very grateful.
Here's my problem. I want to start a mailing list for my website, I have been using a database and PHP to do this. In my PHP.ini file, I've set the SMTP server to my ISP email account "shawmail".
PHP.ini
>>
[mail function]
; For Win32 only.
SMTP = shawmail
; For Win32 only.
sendmail_from = Present Truth Admin
<<
My coding for this mail function looks like this:
mail("$eAddress", "$eSubject", "$eMessage", "From: Present Truth Admin\nReply-To: presenttruth@shaw.ca");
All email addresses in my database that are on the shawmail server; eg. joshuarivard@shaw.ca, and presenttruth@shaw.ca; both receive the emails that I send out. However, all the accounts in the database that are @hotmail.com, @yahoo.com, or any other server do not receive the email. Can anyone tell me why, and a way I can fix this problem?
Here's my problem. I want to start a mailing list for my website, I have been using a database and PHP to do this. In my PHP.ini file, I've set the SMTP server to my ISP email account "shawmail".
PHP.ini
>>
[mail function]
; For Win32 only.
SMTP = shawmail
; For Win32 only.
sendmail_from = Present Truth Admin
<<
My coding for this mail function looks like this:
mail("$eAddress", "$eSubject", "$eMessage", "From: Present Truth Admin\nReply-To: presenttruth@shaw.ca");
All email addresses in my database that are on the shawmail server; eg. joshuarivard@shaw.ca, and presenttruth@shaw.ca; both receive the emails that I send out. However, all the accounts in the database that are @hotmail.com, @yahoo.com, or any other server do not receive the email. Can anyone tell me why, and a way I can fix this problem?