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

2011-02-05 Thread Niamathullah Sharief
Hi guys. Wonder happens. I got one mail from my localhost. But i dont know in which attempt i got that mail. Because in each and every try I was changing my config file. Now i dont know in which attempt it works... On Sat, Feb 5, 2011 at 4:01 PM, Tommy Pham wrote: > On Sat, Feb 5, 2011 at 2:29

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

2011-02-05 Thread Tommy Pham
On Sat, Feb 5, 2011 at 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 >>> >>> Warning: mail() [function.mail]: SMTP se

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

2011-02-05 Thread Tommy Pham
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 >> >> Warning: mail() [function.mail]: SMTP server response: 550-5.7.1 >> [122.163.25.135] The IP you're u

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-03 Thread Tommy Pham
1) Which SMTP server are you trying to use? On your local system? Or smtp.gmail.com? 2a) If local system, which are are using? MS' SMTP or 3rd party like hmail? Are you sure the server is configured properly and that the service is running? Run this in command prompt: netstat -ano | more Yo

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

2011-02-03 Thread Chuck Reeves
Check with your isp to see if they block smtp traffic. Most of the tme they require you to use there smtp in an effort to thwart spammers Thank You Chuck Reeves www.manchuck.com On Thu, Feb 3, 2011 at 12:13 AM, Niel Archer wrote: > > Hi, > > > > I am trying to send mail from my localhost bu

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