Forum Moderators: coopster

Message Too Old, No Replies

Having problem sending mail using PHP and apache

         

Karuna

6:20 pm on Dec 6, 2004 (gmt 0)

10+ Year Member



Hi everybody,
I have been trying to write a simple mail script using PHP and apache on Windows XP. Eventhough the script is saying that the mail is successfully sent, I am unable get it in my mailbox(I have given my mail address in $to). I am using the mail() function and I have made the following changes in php.ini

[mail function]
; For Win32 only.
SMTP = localhost

smtp_port = 25

; For Win32 only.
sendmail_from = aaa@Comcast.net

Can anybosy help me with this?

jatar_k

7:19 pm on Dec 6, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld Karuna,

do you have an smtp server on your local machine?

I have it this way

SMTP = mail.myisp.net