Not able to send notifications

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hrdy90
    Junior Member
    • Apr 2021
    • 28

    Not able to send notifications

    Hi. Recently installed EspoCRM. All works great, incoming and outgoing mails. Only thing left that is not working is mail notifications. According to system requirement all is good.

    I have ensured that cron is running since all other is working fine. Server logs does not state anything and thinks everything is Success.

    But data/logs/ throws the following lines:
    [2021-04-25 02:56:04] ERROR: EmailNotification: [0] Port must be greater than 1; received "0" [] []
    [2021-04-25 02:56:04] ERROR: EmailNotification: [0] Port must be greater than 1; received "0" [] []
    [2021-04-25 02:56:04] ERROR: EmailNotification: [0] Port must be greater than 1; received "0" [] []
    [2021-04-25 02:56:04] ERROR: EmailNotification: [0] Port must be greater than 1; received "0" [] []

    I have double and tripple checked all settings in:
    Outbound Emails
    Group Email Accounts
    Personal Email accounts

    Also, just to be sure I tried changing the default port 587 to something else just to change it back just in case it was not written to some config file.

    Checking the data/config.php file all looks good as well:
    'smtpServer' => 'smtp.gmail.com',
    'smtpPort' => 587,
    'smtpAuth' => true,
    'smtpSecurity' => 'TLS',
    'smtpUsername' => 'xXxXxXx',
    'smtpPassword' => 'xXxXxXx',

    Did some googling and found another topic with same error code but he had forgot to enable SMTP:
    Hello everybody, we've migrate our Espo installation to a new server and everything's working fine but workflows. After opening the workflows site, the error


    Out of ideas here, please help.
    Hello everybody, we've migrate our Espo installation to a new server and everything's working fine but workflows. After opening the workflows site, the error
  • DEN
    Senior Member
    • Apr 2021
    • 106

    #2
    Hello,

    Carefully check the IMAP and SMTP settings in your CRM, and don't forget to enable all permissions on your google or outlook account.
    Check cron setting, cron is responsible for notifications.
    Detail here: https://docs.espocrm.com/administration/jobs/#cron
    Last edited by DEN; 04-26-2021, 02:38 PM.

    Comment

    • Maximus
      Senior Member
      • Nov 2018
      • 2731

      #3
      Hello hrdy90,
      Email Notifications sends by Outbound Emails in Administration. Neither Personal nor Group Email Accounts do that.
      Try to set-up SMTP configs for the SSL connection instead of TLS and check the notifications again https://support.google.com/a/answer/176600?hl.

      Comment

      Working...