Created
May 29, 2012 04:59
-
-
Save djangofan/2822641 to your computer and use it in GitHub Desktop.
Code to send the email
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this method can be within any of the classes belonging to the | |
// group running from the suite, as configured in your testng.xml file | |
@AfterSuite(alwaysRun = true) | |
public void tearDown() throws Exception { | |
SendResults sr = new SendResults("frommail@gmail.com", "tomail@gmail.com", "Title email", "Message"); | |
sr.sendTestNGResult(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment