public class SendMail
extends java.lang.Object
Constructor and Description |
---|
SendMail() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String[] |
readEmailConfig()
readEmailConfig: read the email configuration from a file.
|
static void |
sendMail(java.lang.String msg)
senEmail: this method send the specified string to a pre-configured email address,
read from configuration file.
|
public static void sendMail(java.lang.String msg)
msg
- String to send in the email.public static java.lang.String[] readEmailConfig()