Email configuration on a shared hosting environmen

Hi,

I have successfully installed a copy of SuiteCRM on a hostmonster shared hosting environment. We are using google apps for our email. I need to configure the CRM to use the google apps email. However, when I send a test email, it says that the from address failed. The following is the output of the log:

Fri Oct 25 05:28:44 2013 [2476][1][FATAL] SMTP -> ERROR: Failed to connect to server. Code: 110 Reply: Connection timed out
Fri Oct 25 05:28:44 2013 [2476][1][FATAL] SugarPHPMailer encountered an error: The following From address failed: dummy@abcd.com

Can anybody tell me if there is a work-around for this?

Thanks,

JJ

Hi jamshedjasar,

Have you entered valid SMTP details? What kind of email server are you going through? Have you set up the email settings correctly for the instance?

Thanks,

Will.

Hi Will,

I am using Google Apps for the email service. I have used the settings given on the Gmail Apps support site that I am pasting below:

SMTP server: smtp.gmail.com
Port: 465 (SSL)

I have rechecked the settings several times and can confirm that the settings are correct.

Thanks,

JJ

Hi jamshedjasar,

If you are setting up mail to be sent from Gmail, you will need to supply valid login details and a valid “From” email address(for example the one which you are setting up for Gmail) which you set in email settings.

Thanks,

Will.

Dear SuiteCRM / Will

I have freshly installed the SuiteCRM 7.0.1 on Godaddy Shared hosting

account. But the email setting is not working. I am getting message
as

Godaddy :

admin@example.com
Password : password

Outgoing server (SMTP):
smtpout.asia.secureserver.net 80, 3535, 25, 465 (SSL)

Sat Nov 16 06:42:35 2013 [3002][1][FATAL] SMTP -> ERROR: Failed to connect to server. Code: 111 Reply: Connection refused
Sat Nov 16 06:42:35 2013 [3002][1][FATAL] SugarPHPMailer encountered an error: The following From address failed: admin@example.com

I get the error message as I try to “Send Test Email”

"The following From Address Failed : Someaddress@gmail.com

I have tried with my own SMTP server however there also it failed with above message.

Please can someone help on this. I am happy to share via PM with my server details if required.

Rgds,

But if with Godaddy shared hosting, If I use “relay-hosting.secureserver.net” without authentication details, then it works. However I prefer to use SMTP Authentication process, which is not working. Please advice.

Hi hzzg6y,

If you are using a gmail account, please set up your email using the gmail settings in Admin -> Email Settings.

Thanks,

Will.

Quick question, in setting up the admin account, under email settings, if I put an email address here in outgoing email, is this the email address that the notifications will be sent from for SuiteCRM? So if SuiteCRM sends me a notification, how can I set which email it sends it to?

@GoldenRatioTech, yes the email you set in the outgoing email section is the email SuiteCRM uses to sent mail. And to receive mails in your inbox, you’ve to save your email address in your user account which can be accessed from the top right corner in the menu section.

Another reason why outgoing mails don’t work even after entering valid SMTP details is because the port you’re using might be closed/blocked by the server you’ve set up SuiteCRM in. So you got to check with the server guys if it is listening to the port you’re trying to use to sent mails. (For example, if you’re using port 993 for outgoing mails, ensure that it is not blocked by the server you’ve configured SuiteCRM in.)

I tested it, when I enter the password again and send a test mail it works, but if I send again it gives the same error.

Hello there!

If you are using VM Instances, either from Google or Amazon or any else, you should take a look at this article:

https://cloud.google.com/compute/docs/tutorials/sending-mail

You just have to be sure about which smtp port your VM Instance lets you use and then set the proper configuration in your email settings admin panel in suitecrm.

You will see that SendGrid is a great option to use to avoid this kind of error.