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:
Out of ideas here, please help.
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:
Out of ideas here, please help.
Comment