• V20: 3CX Re-engineered. Get V20 for increased security, better call management, a new admin console and Windows softphone. Learn More.

Unable to Send Welcome Emails

Status
Not open for further replies.

10m

Gold Partner
Advanced Certified
Joined
May 3, 2014
Messages
106
Reaction score
23
Hi guys.

I'm running the Debian version of 3CX and it is up to date. Up until a few days ago, I could send emails from the PBX, particularly the invites for Webmeetings. But as at today I can't and no changes have been made to the system. When I go to settings>email and I click on Test, I get the error message, 'The operation was cancelled'.

I have done the update and upgrade from the cmd line and both were successful. However I am still unable to send mails.

Below is an excerpt from the system log file



2017/03/17 11:41:21.023|624|0013|Info|Sending welcome email to extension 601
2017/03/17 11:41:36.510|624|0013|Excpt|System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at MailKit.Net.Smtp.SmtpStream.Poll(SelectMode mode, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpStream.ReadAhead(CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpStream.ReadResponse(CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.Connect(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellationToken)
at GenericUtilsNet.MailTemplateSender.Send(XDocument template, Func`2 getParameter, String mailTo, IEnumerable`1 attachments)
at _3cxSystemService.ExtSheduller.WelcomeEmailSender.SendWelcome(Extension ext)
at _3cxSystemService.ExtSheduller.WelcomeEmailSender.SendingProc()


2017/03/17 11:45:21.116|624|0005|Info|WM: Pbx parameter PBXERRORMAIL now has value '[email protected]'
2017/03/17 11:45:21.117|624|0005|Info|WM: ParameterUpdated event name=PBXERRORMAIL, [email protected]
2017/03/17 11:47:08.766|624|0005|Info|WM: Pbx parameter PBXERRORMAIL now has value '[email protected]'
2017/03/17 11:47:08.766|624|0005|Info|WM: ParameterUpdated event name=PBXERRORMAIL, [email protected]
2017/03/17 11:47:54.109|624|0003|Info|VMMonitor: alive (iter=255)
2017/03/17 11:49:46.586|624|0005|Info|WM: Pbx parameter PBXERRORMAIL now has value '[email protected]'
2017/03/17 11:49:46.586|624|0005|Info|WM: ParameterUpdated event name=PBXERRORMAIL, [email protected]
2017/03/17 11:54:25.625|624|0005|Info|WM: Pbx parameter PBXERRORMAIL now has value '[email protected]'
2017/03/17 11:54:25.625|624|0005|Info|WM: ParameterUpdated event name=PBXERRORMAIL, [email protected]
2017/03/17 11:54:41.359|624|0005|Info|WM: Pbx parameter PBXERRORMAIL now has value '[email protected]'
2017/03/17 11:54:41.359|624|0005|Info|WM: ParameterUpdated event name=PBXERRORMAIL, [email protected]
2017/03/17 11:55:52.108|624|0005|Info|WM: Pbx parameter PBXERRORMAIL now has value '[email protected]'



Any help?

Thanks.
 
Hello @10m

What smtp server are you using? Does the test email under the email settings work?
 
I'm using Dreamhost and I've determined that the mailbox is okay because I can send mail and receive mail with the mailbox when I login to the webmail. When I hit the test buttom under mail server settings it comes back with an error. It says

'The operation was cancelled'.
 
Please note that the area under the Test button in the email settings is an area that displays the response coming from the smtp server not the PBX. So if it says operation was cancelled then your smtp is sending that.
 
Thanks for the info.

I tried a gmail account and I get this error

The smtp server does not support authentication.

Any ideas.

Thanks
 
Hi 10m,

Did you enable the SSL/TLS?
 
Hi All.

I now enabled SSL/TLS and it worked with my gmail account but I still cannot get the PBX to send through my own company email.

Any pointers as to what I should do to get it working again?
 
Hi 10m,
We are having same issue with 3CX on Debian.
It works with Gmail account but we have problems using our mail server.

2017/05/11 11:37:34.277|799|0012|Excpt|System.OperationCanceledException: The operation was canceled.
at System.Threading.CancellationToken.ThrowOperationCanceledException()
at MailKit.Net.Smtp.SmtpStream.Poll(SelectMode mode, CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpStream.ReadAhead(CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpStream.ReadResponse(CancellationToken cancellationToken)
at MailKit.Net.Smtp.SmtpClient.Connect(String host, Int32 port, SecureSocketOptions options, CancellationToken cancellation$
at GenericUtilsNet.MailTemplateSender.Send(XDocument template, Func`2 getParameter, String mailTo, IEnumerable`1 attachment$
at _3cxSystemService.ExtSheduller.WelcomeEmailSender.SendWelcome(Extension ext)
at _3cxSystemService.ExtSheduller.WelcomeEmailSender.SendingProc()

When we capture traffic, we are seing that PBX make TCP handshake with server but after that 3cx don't send anything else. It seems

DId you resolve this issue?

Thanks!
 
Hi all,

It is better to investigate your issue on your SMTP side. Please check the logs on your SMTP in order to find why your SMTP does not allow the 3CX Phone system to pass the test on email settings. In case that you are using google engine, kindly note that the google engine does not allow outbound connections on ports 25, 465, and 587. In order to allow outbound mails from 3CX (while hosted on Google Compute Engine) a mail server is required to relaying mails for your domain on a non standard SMTP port. You can find more information on the below link https://www.3cx.com/docs/hosted-pbx-google-cloud/
 
Status
Not open for further replies.
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.