|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectejel.EventArgs
ejel.EmailSendingEventArgs
public class EmailSendingEventArgs
Sent as a part of the EventID.EID_SENDING event which is raised to the external listener before sending any email so it can adapt/alter or modify the email content before send it to recipients.
| Constructor Summary | |
|---|---|
EmailSendingEventArgs(int acntIndex,
int rcptIndex,
Recipient[] rcpts,
Email eml)
EmailSendingEventArgs constructor |
|
| Method Summary | |
|---|---|
int |
getAccountIndex()
Gets the email account index in the main accounts list |
Email |
getCustomEmail()
Gets the customizd Email object if set or null |
Email |
getOriginalEmail()
Gets the original Email object |
Recipient |
getRecipientAt(int index)
Gets the Recipient object at the index specified by the index param |
int |
getRecipientIndex()
Gets the recipient object index in the main recipients list |
int |
getRecipientsCount()
Gets the number of recipients to who the current email will be sent |
void |
setCustomEmail(Email email)
Sets the customized Email object to be sent to recipients |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmailSendingEventArgs(int acntIndex,
int rcptIndex,
Recipient[] rcpts,
Email eml)
acntIndex - Index of the email account in the main accounts list, used to send the emailrcptIndex - Index of the first recipient in the main recipients listrcpts - Array of the Recipient objects listeml - The Email object representing the original email content| Method Detail |
|---|
public int getAccountIndex()
public int getRecipientIndex()
public int getRecipientsCount()
public Recipient getRecipientAt(int index)
throws java.lang.IndexOutOfBoundsException
index - The index of the Recipient object to be retrieved
java.lang.IndexOutOfBoundsExceptionpublic Email getOriginalEmail()
public void setCustomEmail(Email email)
email - The customized Email object to be sent to recipientspublic Email getCustomEmail()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||