Mail function STARTTLS error

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Mail function STARTTLS error

Postby jester9908 » 18. January 2012 04:09

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.
jester9908
 
Posts: 1
Joined: 18. January 2012 04:03
Operating System: Windows 7

Re: Mail function error

Postby Sharley » 18. January 2012 04:14

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 43 guests