Topics
Replies
j.kozlowski.net
20 Jan 2016, 16:17
Please find the following code snippet.
private void alertOversold(MarketSeries mSeries, int counter)
{
if (counter == 1)
{
var text = string.Format("Oscillator has crossed below in oversold zone at {0} timeframe", mSeries.ToString());
Notifications.SendEmail("myemailaddress@gmail.com", "myemailaddress@gmail.com", "Title", text);
}
}
@j.kozlowski.net
j.kozlowski.net
14 Jan 2016, 11:02
Oh wow, I can't believe it's that basic. Huge thanks for your reply!
@j.kozlowski.net
j.kozlowski.net
21 Jan 2016, 20:26
Thanks for help everyone!
It turns out gmail didn't save the "Allow less secure apps" setting the first time round. Everythig works as it should now.
@j.kozlowski.net