Page 1 of 1

Mail function STARTTLS error

PostPosted: 18. January 2012 04:09
by jester9908
I did all accordingly, but i get this error when i submit to send.
Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first. d3sm54046510anm.11 in C:\xampp\htdocs\starting\report.php on line 26

btw thank you in advance and thank you again for tutorial.

Re: Mail function error

PostPosted: 18. January 2012 04:14
by Sharley
I have moved your post from here
viewtopic.php?f=16&t=20981
as the topic you posted in is now out of date.


You may be using Mercury Mail when you don't need to as the included sendmail application is quite adequate for sending email messages from a php form script, that is, when the sendmail.exe is upgraded and you have configured php.ini and the sendmail.ini files correctly - see below.

Do a forum search in XAMPP for Windows in English for sendmail and you may find that you need to download a fresh version of sendmail if you want to use secure email.

These search results may help if you are not familiar with searching forums.