Correct External SMTP settings for a form to send to gmail account

Permalink 1 user found helpful
Concrete5 5.6.0.1
Hosted on HostMonster
Called HostMonster twice an 1st time was told to try:
Encryption: None and Port 24
2nd time:
Encryption: SSL and Port 465
Neither worked.
t also set FORM_BLOCK_SENDER_EMAIL in site.php
Log Report is empty.
Anyone have working settings to send a form output to gmail ?

 
Brainakazariua replied on at Permalink Best Answer Reply
Brainakazariua
Google mail settings:
Host: smtp.gmail.com
Port: 465
Authentication: Yes
Username: yourmailadres
Password: yourpassword
Security: SSL

And you can set the form sender by adding these lines to your site.php
define('FORM_BLOCK_SENDER_EMAIL', 'no-reply@yourdomain.com');
define('EMAIL_ADDRESS_FORGOT_PASSWORD', 'no-reply@yourdomain.com');
ughly replied on at Permalink Reply
Where do I set "Authentication to Yes" ?
I have everything else set.
Regards,
Brainakazariua replied on at Permalink Reply
Brainakazariua
If you set the username and password then you should be done since that's the authentication.
If it doesn't work try changing the encryption type and retry mailing
turbodynamics replied on at Permalink Reply
turbodynamics
i tried send an email with this credentials but it doesn't work the issue is :

Mail Exception Occurred. Unable to send mail: Connection timed out

i've got also a email client set up into my server and when i try to set up the external SMTP email with my right server's credentials i'm getting this error:

Mail Exception Occurred. Unable to send mail: <>: missing or malformed local part

Any advice?