Re: [PHP-WIN] Problem in sending email from localhost

2011-02-05 Thread Niamathullah Sharief
t 2:29 AM, Tommy Pham wrote: > > On Sat, Feb 5, 2011 at 12:19 AM, Niamathullah Sharief > wrote: > >> Yes i am using local system, So now i changed as "localhost" instead of > >> smtp.gmail.com. But still i am getting the below error > >>> > >>

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-05 Thread Niamathullah Sharief
Yes i am using local system, So now i changed as "localhost" instead of smtp.gmail.com. But still i am getting the below error *Warning*: mail() [function.mail ]: SMTP > server response: 550-5.7.1 [122.163.25.135] The IP you're using to send mail > is not authorized

Re: [PHP-WIN] Problem in sending email from localhost

2011-02-02 Thread Niamathullah Sharief
I did that too. but still i got the same error. On Wed, Feb 2, 2011 at 10:56 PM, Ferenc Kovacs wrote: > > On Wed, Feb 2, 2011 at 5:37 PM, Niamathullah Sharief wrote: > >> Hi, >> >> I am trying to send mail from my localhost but i am getting the below

[PHP-WIN] Problem in sending email from localhost

2011-02-02 Thread Niamathullah Sharief
Hi, I am trying to send mail from my localhost but i am getting the below error ""Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in F:\test\xampp\htdocs\sendmail.php on line 42'" I a