The help file provides the following example:
// Generates an email message
SendMail("[email protected]", "[email protected]", "Trade Alert", "Buy ES");
My questions
Should the first email address be the same as the one captured in Tools>Options>Misc? Or can one use [email protected] as in the example?
Why should one ever capture an email address here - just when you want to use sendmail?
The screen reads "SMTP" (leave blank for default)" - what is the default? I looked in the help file again to try and understand - but do not.
Basically I want to be able to sendmail based on triggers in my strategy - please explain what I should do for sendmail to work
Verge

Comment