public class Mail extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ATTCH_FILE |
static String |
MAIL_FROM |
static String |
MAIL_FROM_NAME |
static String |
MAIL_SUBJECT |
static String |
MSG_FILE |
static String |
RCPT_LIST |
| Constructor and Description |
|---|
Mail() |
Mail(String userId,
String password) |
| Modifier and Type | Method and Description |
|---|---|
void |
sendTextandAttachmentEmail(GenericProperties param) |
void |
sendTextMail(GenericProperties param) |
public static final String MAIL_FROM
public static final String MAIL_FROM_NAME
public static final String MAIL_SUBJECT
public static final String MSG_FILE
public static final String ATTCH_FILE
public static final String RCPT_LIST
public final void sendTextMail(GenericProperties param) throws javax.mail.internet.AddressException, javax.mail.MessagingException, UnsupportedEncodingException, IOException
javax.mail.internet.AddressExceptionjavax.mail.MessagingExceptionUnsupportedEncodingExceptionIOExceptionpublic final void sendTextandAttachmentEmail(GenericProperties param) throws javax.mail.internet.AddressException, javax.mail.MessagingException, UnsupportedEncodingException, IOException
javax.mail.internet.AddressExceptionjavax.mail.MessagingExceptionUnsupportedEncodingExceptionIOExceptionCopyright © 2016. All rights reserved.