Failure when trying to connect to SMTP mail server

Hello everyone !

I have a kind of huge situation here...

I would like to configure my outbound SMTP mail server. i'm using Gmail for it.
So, i use "smtp.gmail.com" in SMTP server, i chose 587 as the smtp port, and i tried both SSL and TLS.
My gmail address and gmail password are correct.

But yet, when sending the test mail, i got this error message :"Erreur emailing :Failed to connect to outbound SMTP Mail Server"

I've search for the imap in Php5, and i do have IMAP enabled. I don't know what to do, and i'm totally confuse and at a dead end : i'll use the outbound a lot, and i need to receive email too !

I'm kind of in a hurry with a seems-to-be unresolvable mess.

Could you help me please ?

My configuration :
- SugarCRM Professional, Version 7.5.2.1 (Build 1008)
- PHP version 5.3.23
in php info, in "Configure command", i have "--with-imap-ssl", and in Protocol, i have imaps and imap.

Please, please help me !

Thanks a lot for your time !
Parents Reply
  • Hello,

    In Admin > System Settings, please update the Log Level to 'error'.  In Sugar 7.5.x we're capturing SMTP related errors at this level rather than the FATAL level.

    After making this change, click the Save button then reopen Admin > System Settings.  Scroll to the bottom of the page and click 'View Log'.  Click the 'Mark Point' button.  Retry the 'Send Test' option in Admin > Email Settings.

    When the email fails, click the 'Refresh from Mark' button on the 'Configurator' tab.  You should now have additional information regarding why the email failed to send.

    Typically with Google this occurs because of two-factor authentication.  There will likely be a link to a Google Knowledge Base article that explains the root cause and work-arounds for the issue you're encountering.

    Regards,

    Dan Kallish
    Advanced Support Engineer
    SUGARCRM

    Learning Resources: http://support.sugarcrm.com | http://university.sugarcrm.com | http://community.sugarcrm.com
Children