public interface EmailSender
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
Modifier and Type | Method and Description |
---|---|
void |
sendEmailMessage(java.lang.String pFrom,
java.lang.String[] pRecipients,
java.lang.String pSubject,
java.lang.String pBody)
Sends a message with the given parameters
|
void |
sendEmailMessage(java.lang.String pFrom,
java.lang.String[] pRecipients,
java.lang.String pSubject,
java.lang.String pBody,
java.lang.String pExtraHeader)
Sends a message with the given parameters
|
void |
sendEmailMessage(java.lang.String pFrom,
java.lang.String[] pRecipients,
java.lang.String pSubject,
java.lang.String pBody,
java.lang.String[] pExtraHeaders)
Sends a message with the given parameters
|
void |
sendEmailMessage(java.lang.String pFrom,
java.lang.String pRecipient,
java.lang.String pSubject,
java.lang.String pBody)
Sends a message with the given parameters
|
void |
sendEmailMessage(java.lang.String pFrom,
java.lang.String pRecipient,
java.lang.String pSubject,
java.lang.String pBody,
java.lang.String pExtraHeader)
Sends a message with the given parameters
|
void |
sendEmailMessage(java.lang.String pFrom,
java.lang.String pRecipient,
java.lang.String pSubject,
java.lang.String pBody,
java.lang.String[] pExtraHeaders)
Sends a message with the given parameters
|
static final java.lang.String CLASS_VERSION
void sendEmailMessage(java.lang.String pFrom, java.lang.String pRecipient, java.lang.String pSubject, java.lang.String pBody) throws EmailException
pFrom
- Whom the mail is coming frompRecipient
- The recipient that should receive the messagepSubject
- Subject line of the email messagepBody
- The message contentEmailException
- if there is any problem while sending mailvoid sendEmailMessage(java.lang.String pFrom, java.lang.String[] pRecipients, java.lang.String pSubject, java.lang.String pBody) throws EmailException
pFrom
- Whom the mail is coming frompRecipients
- The list of recipients that should receive emailpSubject
- Subject line of the email messagepBody
- The message contentEmailException
- if there is any problem while sending mailvoid sendEmailMessage(java.lang.String pFrom, java.lang.String pRecipient, java.lang.String pSubject, java.lang.String pBody, java.lang.String pExtraHeader) throws EmailException
pFrom
- Whom the mail is coming frompRecipient
- The recipient that should receive the messagepSubject
- Subject line of the email messagepBody
- The message contentpExtraHeader
- An extra headers that should be used
in the email (e.g. "X-URL: http://foo.bar.com/"
)EmailException
- if there is any problem while sending mailvoid sendEmailMessage(java.lang.String pFrom, java.lang.String pRecipient, java.lang.String pSubject, java.lang.String pBody, java.lang.String[] pExtraHeaders) throws EmailException
pFrom
- Whom the mail is coming frompRecipient
- The recipient that should receive the messagepSubject
- Subject line of the email messagepBody
- The message contentpExtraHeaders
- The list of extra headers that should be used
in the email (e.g. "X-URL: http://foo.bar.com/"
)EmailException
- if there is any problem while sending mailvoid sendEmailMessage(java.lang.String pFrom, java.lang.String[] pRecipients, java.lang.String pSubject, java.lang.String pBody, java.lang.String pExtraHeader) throws EmailException
pFrom
- Whom the mail is coming frompRecipients
- The list of recipients that should receive emailpSubject
- Subject line of the email messagepBody
- The message contentpExtraHeader
- An extra headers that should be used
in the email (e.g. "X-URL: http://foo.bar.com/"
)EmailException
- if there is any problem while sending mailvoid sendEmailMessage(java.lang.String pFrom, java.lang.String[] pRecipients, java.lang.String pSubject, java.lang.String pBody, java.lang.String[] pExtraHeaders) throws EmailException
pFrom
- Whom the mail is coming frompRecipients
- The list of recipients that should receive emailpSubject
- Subject line of the email messagepBody
- The message contentpExtraHeaders
- The list of extra headers that should be used
in the email (e.g. "X-URL: http://foo.bar.com/"
)EmailException
- if there is any problem while sending mail