Page 1 of 1

mail problem in 1.7.7 [SOLVED]

PostPosted: 23. November 2011 05:19
by cearlp
I'm having a problem sending mail from my localhost using Google as the mail server. After searching this forum I have gotten to the point where the program sending the mail indicates that it has been sent but it never arrives at the destination. My php.ini is not using any of the Win32 parameters, only the Unix area sendmail pointer.
Using port 25 gets me where the program thinks it sent the mail but gives me an error in the sendmail error log that a TLS is required. I tried changing the port to 465 and even 587 but both of them never gets to the point that the program thinks the mail is sent, they just time out after what the program thinks is 30 seconds. This is according to the error message displayed by the program.
From posts in this forum, I have seen sendmail.ini files shown that have other possibilities for configuring such things as TLS and SSL but my sendmail.ini has none of these.
Is there other things I should configure or can I get a different sendmail that will allow me to configure sending a TLS ?
I'm stuck right now.
Thanks

Re: mail problem in 1.7.7

PostPosted: 23. November 2011 05:26
by Sharley
Replace the files in the \xampp\sendmail folder with an updated version. The version included does not do well with TLS.

Download sendmail from here:
http://www.glob.com.au/sendmail/sendmail.zip

Extract (drag) the following into your sendmail folder
sendmail.exe
sendmail.ini
libeay32.dll
ssleay.dll
EDIT - 2 files not included in the archive (deleted)

Please let me know if this later version works for you as others have had success.

Here is the last relevant topic:
viewtopic.php?f=16&t=48847

Also often it is best to place in forum code tags the relevant section of the php.ini file and the sendmail.ini file so we can see if it is all correct.

Good luck. :)

Re: mail problem in 1.7.7

PostPosted: 23. November 2011 06:17
by cearlp
Thanks Shayley, That did the trick.
You are a life saver.
One thing though, no authtype-login or smtps files in the .zip but worked without them.

Re: mail problem in 1.7.7

PostPosted: 23. November 2011 06:46
by Sharley
I am please that you can now move forward and thanks for the feedback. 8)

I will remove those 2 files from my reference.

Good luck and best wishes. :)

It is now a requirement of membership to the Apache Friends forums that you provide your correct Operating System Version and the correct XAMPP version
viewtopic.php?f=16&t=48626