Problem send mail whit SMTP in joomla

behinam

Well-Known Member
May 9, 2017
77
5
58
Dubay
cPanel Access Level
Root Administrator
I have to server
server1 is webserver and server2 is a mail server. I set SMTP in joomla for sending mails from website from server2 (attach in image). but when send mail i get this error:

Error
Test mail could not be sent.

in exim log in server2 i see this message:
SMTP connection from [136xxxxxx67]:53992 (TCP/IP connection count = 1)
SMTP connection from static-server.com [136xxxxxxx67]:53992 lost D=0s

telnet to port 587 and 465 from server1 to server2 is ok. I disabled csf but the problem not solved.
Can I help me?
 

Attachments

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,300
363
Houston
If you're hosting from Server1 and this is a form in Joomla on server1 - what's logged in the exim mail log on server1 for this issue? The error message present on server 2 just indicates that server1 in this instance attempted to make a connection but it was lost, but not why.

Also if you use port 587 instead of 465 does the issue persist? Do you get other options besides ssl/tls?