SendEmail not working anymore?

Created at 12 Dec 2013, 08:07
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
Hyperloop's avatar

Hyperloop

Joined 23.10.2013

SendEmail not working anymore?
12 Dec 2013, 08:07


I have several signal generating robots that use the SendEmail method to alert me when certain conditions are met. Prior to this weekend, it was working perfectly fine. But starting this week, none of my SendEmail robots are working. I've check my email settings, to address, and from address; everything has been unchanged. 

So what's going on with cAlgo?


@Hyperloop
Replies

Hyperloop
12 Dec 2013, 09:31

I wanted to also add that when it did work, the Log tab of the instance would show that the Email was successfully sent. Now, there is no message at all.


@Hyperloop

Spotware
12 Dec 2013, 16:54

Could you tell us if you are using gmail with 2-step verification enabled? If so, you will have to disable it for use with cAlgo or use a different email account. If not, could you try to run the robot again and if it occurs again press Ctrl+Shift+Alt+T. This will send us troubleshooting information. 


@Spotware

Hyperloop
12 Dec 2013, 20:58

I am using a custom domain, hosted through Yahoo Small Business Hosting. 

If I just create a new robot that sends an email OnStart, the error message I am getting now is:

12/12/2013 18:56:45.144 | Failed to send email "Test". System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Authentication required    at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)    at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)

 


@Hyperloop

Cerunnos
12 Dec 2013, 21:10

RE:

Hyperloop said:

I am using a custom domain, hosted through Yahoo Small Business Hosting.

If I just create a new robot that sends an email OnStart, the error message I am getting now is:

12/12/2013 18:56:45.144 | Failed to send email "Test". System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Authentication required    at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)    at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)

 

Hi, in the e-mail settings of cAlgo you can enable "use authentication" with username & pw. It looks as if your SMTP server now requires authentication.


@Cerunnos

Hyperloop
12 Dec 2013, 22:27

I enabled Use SSL in the email settings, and now it's working like before. I guess my host changed things up over the weekend. Seems to be working now.


@Hyperloop

Hyperloop
12 Dec 2013, 22:27

RE: RE:

Cerunnos said:

Hyperloop said:

I am using a custom domain, hosted through Yahoo Small Business Hosting.

If I just create a new robot that sends an email OnStart, the error message I am getting now is:

12/12/2013 18:56:45.144 | Failed to send email "Test". System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.1 Authentication required    at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)    at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)

 

Hi, in the e-mail settings of cAlgo you can enable "use authentication" with username & pw. It looks as if your SMTP server now requires authentication.

I already had that set up, but I fixed the issue. Thanks for your suggestion and help. :) I appreciate it. 


@Hyperloop