Email is not sent from app

Hi there,

I’ve lost privileges to send mails via SuiteCRM. Few days ago I had such possibility - test mail was sent properly. Now I’ve stucked.
Mail is not working with ‘Send Test Mail’ and Send Mail to contact’ funcionalities. Outbound mail configuration is ok. I know that, becouse the same mail account was used in tests of other CRM, and there was no problem with it.

Now, I’ve got this -> Error:The following From address failed: tomtest@tomtest.it

Sending mail is crucial functionality for ‘customer’ so I cannot go live without that, and i really do not want to go live with other CRM :slight_smile:
Log:

Mon Dec  1 17:45:20 2014 [8162][1][FATAL] SMTP -> ERROR: Failed to connect to server. Code: 110 Reply: Connection timed out 
Mon Dec  1 17:45:20 2014 [8162][1][FATAL] SugarPHPMailer encountered an error: The following From address failed: tomtest@tomtest.it

Can somebody help me?

edit: there is 99% possibility, that accidentally I’ve created this topic in wrong section :slight_smile: Can somebody move it?

Hi,

Looking at this the mail server you are trying to connected to is either not accepting connections or is not where it thinks it is. are you 100% sure that the details you have entered are correct and is it worth trying to clear the settings and reenter them to be sure ?

I have 110% sure, that everything is ok.
One test mail was sent something around 1-2 weeks ago. After I checked mail setting, I went for rest of app settings. After that time outbound mail is unavailible

I’ve tried many combinations with many mails (even Gmail is not working).

Even if I save mail in Email settings, with ‘Allow users to use this account for outgoing email’ checked, I can’t see this mail in any other place in application

Did you find a solution for this?

I am having the exact same problem with a new installation.
SuiteCRM version 7.1.4, running on CentOS 7.

Any help is much appreciated!

Thanks.

/Kevin

Hi guys,

Ensure when setting up mail settings via Admin -> Email Settings that you test the settings BEFORE you save. If you save and then navigate back into ‘Email Settings’ and click ‘Send Test Email’, you run the risk that SuiteCRM may unset the password(bug inherited from SugarCRM).

Thanks,

Will.

Hi Will.
Thank you for your ready response.

I am testing before saving, so that is not the case.
I have also tried with several different accounts, smtp, ports etc. and have disabled both SE Linux and Firewall on my server.

Running on CentOS 7 with 5.5.40-MariaDB and PHP 5.4.16.
However there is many reports about similar issues with much older software versions.

The typical solution has been SE Linux or Firewall related, but this doesn’t solve it for me.

The host is a Google Cloud instance and there is a Firewall feature as well.
However I have also here added all smtp ports etc.

Is it possible to enable more debug info, so that the logs will show as many information as possible.
Could you guide me on what to enable and where to look?

Thank you.

Kind Regards,
Kevin

Hi Kevin,

You can enable debug mode for logging in Admin -> System Settings.

Hope you find some more information.

Thanks,

Will.

Hi Kevin,

You can enable debug mode for logging in Admin -> System Settings.

Hope you find some more information.

Thanks,

Will.

Will, I lost a whole day thanks for this bug.
I almost striked SuiteCRM out of my list…
Is there other serious sugar-inherited bugs out there?

Hi suitguy,

Any that have not been resolved in the latest SugarCRM CE release.

We have addressed many SugarCRM CE bugs and will continue to do so whilst building new functionality for SuiteCRM.

Thanks,

Will.

Issue solved here - it was not a SuiteCRM / SugarCRM issue. It was host related.

All outbound connections on ports 25, 465, and 587 on Google Cloud instances are blocked.
You can find documentation / instructions here:
https://cloud.google.com/compute/docs/sending-mail

They suggest their partner SendGrid and we have setup an account there and that is working very well.
Free up to 25000 mails / month.

Kind Regards,
Kevin

1 Like