I have a vanilla Joomla installation. I installed RSForm plugin to send emails from Contact Us form.
However, when the user fills out the form get the message:
SMTP connect() failed
I tried to change the settings on joomla to send emails from Gmail.
Here are the mail settings of the configuration.php file:
Mail from: firstname.lastname@example.org
mailer = smtp
sendmail = /usr/sbin/sendmail
fromname = myname
smtpuser: gmail username
smtp password: gmail password
smtp security: TLS
SMTP Host: smtp.gmail.com
I can connect via SSH to the terminal of my server
After doing so and executing the Telnet command accessing
smtp.gmail.com via port 587, this is what I get:
myserver:~# telnet smtp.gmail.com 587
Connected to gmail-smtp-msa.l.google.com.
Escape character is '^]'.
At least we can see that it is connecting.
As far as the mail logs goes here I've looked at them and only can see sender of Joomla and not from myself