Mail: 'Test message' failed

To add comments, please log in or register
GrumpyDuckMan
839
GrumpyDuckMan  

Hello everyone,

I would like to setup Email alerts.

I feel a little bit stupid asking this, but what does that mean?

Marco vd Heijden
Moderator
8831
Marco vd Heijden  
That it didn't send ?
GrumpyDuckMan
839
GrumpyDuckMan  

Hello again,

Please elaborate some more. It has taken me three weeks to get this far. I don't understand.

bool message= SendMail(subject,some_text);
message reads as true, but the test says failed.
Marco vd Heijden
Moderator
8831
Marco vd Heijden  

Return Value

true – if an email is put into the send queue, otherwise - false.

Note

Sending can be prohibited in settings, email address can be omitted as well. For the error information call GetLastError().

SendMail() function does not work in the Strategy Tester.



What is the Last error ?

Are you sure the server settings are correct?

GrumpyDuckMan
839
GrumpyDuckMan  

I have SMTP set to "mail.gmx.com:587:"

To add comments, please log in or register