(SmtpMailer.php:167 [6]) - Failed to connect to outbound SMTP Mail Server: An outgoing mail server is not configured to send emails.

hi all,

this is a a bit strange, Assignment emails and notification emails work perfectly file whereas workflow emails doesnot work. if i try to send an email via process definition or auto reply it doesnt work. we are onsite hosted setup and currently on 7.9.4 , outbound email is setup (no smtp authentication is used) , test emails works perfectly file.

we get following error : 

Configurator » SugarCRM

MailerException - @(SmtpMailer.php:167 [6]) - Failed to connect to outbound SMTP Mail Server: An outgoing mail server is not configured to send emails. Please configure an outgoing mail server or select an outgoing mail server for the mail account that you are using in 

I have tried checking the following : 

Admin-> Email settings - mailserver and port defined , test email works fine , smtp authetication disabled

Email->Settings : default outbound settings exists, if i add a new outbound setting, it allows me to add but everytime i try to check via edit all defined fields change to undefined.

any guidance here where do i need to setup this outbound email setting would be great. i am using a group mailbox for sugar setup i am not using my personal , i do have imap config for the mailbox but i am not sure where do i need to set this up, there is no smtp authentication required as i am informed by our IT team , mailbox is setup to send emails without authentication on exchange server.

any guidance would be great

Thanks,

Kunal

Parents
  • Hi Kunal/All,

    We're facing the same problem on alerts by Advance Workflows. The SMTP account is configured correctly when you do a 'Test Email' and even for Workflows but not for Process Definitions.

    We have the same error below:

    Mon Jun 10 11:44:02 2019 [21080][b898ffcc-ec29-1eb5-a416-542130a5ee4e][WARN] SMTP -> ERROR: QUIT command failed.
    Mon Jun 10 11:44:02 2019 [21080][b898ffcc-ec29-1eb5-a416-542130a5ee4e][FATAL] SugarPHPMailer encountered an error: An outgoing mail server is not configured to send emails. Please configure an outgoing mail server or select an outgoing mail server for the mail account that you are using in Settings >> Mail Account.
    Mon Jun 10 11:44:02 2019 [21080][b898ffcc-ec29-1eb5-a416-542130a5ee4e][FATAL] SugarPHPMailer encountered an error: SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

    We are using Exchange Server, it might the way how the Advanced WF alerts connects to SMTP?

    Have you solved your issue?

    BTW we are using Sugar 7.9 ENT version.

    Thank you.

    Regards,

    Kaizer

  • Unfortunately no, I did raise the case with Sugar aswell but since 7.9 is not a supported version they suggested to upgrade to version 9.0 and test it again, we cant just upgrade to version 9.0 as there are quiet a few in-upgrade safe changes which needs to be analyzed and its not a something that could be done quickly. so we are still looking ofr alternate solution but currently stuck with the issue.

    Thanks,

    Kunal

  • Hi Kunal,

    Appreciate the response. It's just strange that something like this would fail for some weird reason. We're also pursuing an upgrade to 9.

    The thing is I couldn't replicate this is in local so I would assume something with their Exchange server is failing but couldn't investigate further on what's going on. If I use a different SMTP server like Gmail, the mails are sent but some weird things are happening wherein if you send an email using a direct email address of a user it sends fine but not when you place the user who is currently assigned or who created it.

    It seems to be a problem on Exchange servers but can't figure out what may be the issue. If it happens that the instance is upgrade to 9 and if it still fails, then the first thing to check is the Exchange server.

    Thanks again.

    Regards,

    Kaizer

Reply
  • Hi Kunal,

    Appreciate the response. It's just strange that something like this would fail for some weird reason. We're also pursuing an upgrade to 9.

    The thing is I couldn't replicate this is in local so I would assume something with their Exchange server is failing but couldn't investigate further on what's going on. If I use a different SMTP server like Gmail, the mails are sent but some weird things are happening wherein if you send an email using a direct email address of a user it sends fine but not when you place the user who is currently assigned or who created it.

    It seems to be a problem on Exchange servers but can't figure out what may be the issue. If it happens that the instance is upgrade to 9 and if it still fails, then the first thing to check is the Exchange server.

    Thanks again.

    Regards,

    Kaizer

Children
No Data