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

2011-02-02 Thread Niel Archer
> 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

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 >> error >> ""Warning: mail() [function.mail

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

2011-02-02 Thread Ferenc Kovacs
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 > error > ""Warning: mail() [function.mail]: Failed to connect to mailserver at > "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini

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

2011-02-02 Thread Richard Quadling
On 2 February 2011 16:37, Niamathullah Sharief wrote: > SMTP = smtp.gmail.com You are trying to send mail via Google Mail, not your own localhost SMTP engine. Is that your intention? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP Windows Mai

[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