VPS Alerts Gmail

Created at 27 Sep 2016, 19:51
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!
IR

iRobot

Joined 17.02.2013

VPS Alerts Gmail
27 Sep 2016, 19:51


I launched cAlgo from the VPS and did everything the same with the configuration to get my custom email alerts to Gmail like on PC. However, I don't receive any, only the error message:

Failed to send email "EURUSD Long  M30 1,12063". System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at    at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)    at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)

 

I approved the connection from the VPS in the Gmail, but it keeps blocking it.

 

How should I solve it?

Thanks


@iRobot
Replies

mindbreaker
27 Sep 2016, 20:35

RE:

iRobot said:

I launched cAlgo from the VPS and did everything the same with the configuration to get my custom email alerts to Gmail like on PC. However, I don't receive any, only the error message:

Failed to send email "EURUSD Long  M30 1,12063". System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required. Learn more at    at System.Net.Mail.SendMailAsyncResult.End(IAsyncResult result)    at System.Net.Mail.SmtpClient.SendMailCallback(IAsyncResult result)

 

I approved the connection from the VPS in the Gmail, but it keeps blocking it.

 

How should I solve it?

Thanks

Hi try with this example:

https://github.com/fxstar/Chash/blob/master/SendEmailWithAttachments.cs


@mindbreaker

iRobot
27 Sep 2016, 22:44

I know how to write the code, I don't know how to setup the Gmail for me to get the emails.


@iRobot

mindbreaker
28 Sep 2016, 09:58

Own smtp

iRobot said:

I know how to write the code, I don't know how to setup the Gmail for me to get the emails.

Hi

if you use VPS you can set your own SMTP:

look at this smpt server example (Windows vps)

https://www.youtube.com/watch?v=o-eMIxw4IjA

only couple minutes and you can send and recive emails. with your vps

 

OR

try this from google

http://stackoverflow.com/questions/20906077/gmail-error-the-smtp-server-requires-a-secure-connection-or-the-client-was-not

https://www.youtube.com/watch?v=y3cotIr41PQ

Bye.


@mindbreaker

stevewilliam007
17 Apr 2019, 14:05

When I was trying to install itunes on windows 7 it was not installing at all. I could not sign in to the account after the installation but I could not install it. Please help me to fix the problem.

 


@stevewilliam007