Page 1 of 1

SMTP authentication on WAMP

Posted: Tue Mar 24, 2009 5:31 pm
by simm
Hi all...I'm new here - don't know if this is the right place for my question.

I get a 503 SMTP error when I try to send an email from a simple form on my local Vista machine. I've tried an email address from my own domain, gmail, hotmail, and yahoo.

Here's the error:

Code: Select all

Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. k14sm6838908waf.23
What's the deal? I'm going through a PHP book, and it doesn't cover any error troubleshooting. I've tried everything it seems - from IIS settings to SMTP settings on my local machine to the PHP.ini.

Thanks so much.

Re: SMTP authentication on WAMP

Posted: Wed Mar 25, 2009 7:22 pm
by Chris Corbyn
The mail() function cannot work with TLS requiring servers. You'll need to use Swift Mailer, assuming they accept a pure TLS connection:

http://swiftmailer.org/

Swift Mailer will fully support STARTTLS in version 4.1.

Re: SMTP authentication on WAMP

Posted: Wed Apr 01, 2009 4:51 am
by josh
( or open up plaintext auth on localhost )