Jump to content

Problems sending email on local machine (SMTP)


simm

Recommended Posts

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:

 

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.

Link to comment
Share on other sites

Are you using a local mail server?

Yes, I believe so.

The php openssl extension must be enabled/installed for php to be able to connect to a mail server using TLS/SSL.

I tried enabling openssl, but it's still not working.

 

Thank you for your replies...please keep asking questions, as I'm very new to PHP and I don't know a ton about it...  :-[

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.