Gossamer Forum
Home : General : Internet Technologies :

Mail() Function

Quote Reply
Mail() Function
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?
Subject Author Views Date
Thread Mail() Function JoFrRi 8634 Apr 6, 2003, 2:24 PM
Thread Re: [JoFrRi] Mail() Function
Andy 8417 Apr 7, 2003, 7:28 AM
Thread Re: [Andy] Mail() Function
JoFrRi 8370 Apr 7, 2003, 9:53 AM
Post Re: [JoFrRi] Mail() Function
Paul 8329 Apr 7, 2003, 10:14 AM
Post Re: [JoFrRi] Mail() Function
Alex 8349 Apr 7, 2003, 11:01 AM
Thread Re: [JoFrRi] Mail() Function
JoFrRi 8315 Apr 8, 2003, 12:14 PM
Post Re: [JoFrRi] Mail() Function
brewt 8294 Apr 8, 2003, 4:23 PM