SendMsgToMailAsync

Parent Previous Next

SendMsgToMailAsync

Description: the method sends an email

Syntax: SendMsgToMailAsync(string subject, string body, string filename = "")

Return value: no return value


Example:

Tester tester = new Tester(browserForm);

await tester.TestBeginAsync();

...

await tester.TestEndAsync();

if(tester.GetTestResult() == Tester.PASSED) 

       await tester.SendMsgToMailAsync("Text message", "The test was completed successfully");

}

Created with the Personal Edition of HelpNDoc: Easily create HTML Help documents