public class EmailFunctions extends BaseFunctions
mExecute, mFLOG, mScriptRef| Constructor and Description |
|---|
EmailFunctions() |
EmailFunctions(boolean isExecute,
LogFunctions pFLOG) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
java.lang.String |
getGroovyKey() |
void |
sendEmail(java.lang.String pSubject,
java.lang.String pBody,
java.util.Collection<java.lang.String> pRecipientAddresses)
Sends emails using FlexDeploy's System Settings SMTP information to the Collection of email addresses specified.
|
void |
sendEmail(java.lang.String pSubject,
java.lang.String pBody,
java.util.Collection<java.lang.String> pRecipientAddresses,
java.util.Collection<EmailAttachment> pAttachments)
Sends an email using FlexDeploy's System Settings SMTP information to the Collection of email addresses specified.
|
void |
sendEmail(java.lang.String pSubject,
java.lang.String pBody,
java.lang.Long pGroupId)
Sends an email using FlexDeploy's System Settings SMTP information to all users associated with FlexDeploy security group of specified Id.
|
void |
sendEmail(java.lang.String pSubject,
java.lang.String pBody,
java.lang.Long pGroupId,
java.util.Collection<EmailAttachment> pAttachments)
Sends emails using FlexDeploy's System Settings SMTP information to all users associated with FlexDeploy security group of specified Id.
|
void |
sendEmail(java.lang.String pSubject,
java.lang.String pBody,
SendEmailOptions pSendEmailOptions,
java.util.Collection<EmailAttachment> pAttachments) |
decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getLogFunctions, getServerBaseUrl, setScriptRefpublic EmailFunctions()
public EmailFunctions(boolean isExecute,
LogFunctions pFLOG)
public void sendEmail(java.lang.String pSubject,
java.lang.String pBody,
java.lang.Long pGroupId)
pSubject - The subject line for the email.pBody - The html body that will be used as the email body to be sent. A simple string can also be used instead of html.pGroupId - The FlexDeploy security group that the email will be sent to.public void sendEmail(java.lang.String pSubject,
java.lang.String pBody,
java.lang.Long pGroupId,
java.util.Collection<EmailAttachment> pAttachments)
pSubject - The subject line for the email.pBody - The html body that will be used as the email body to be sent. A simple string can also be used instead of html.pGroupId - The FlexDeploy security group that the email will be sent to.pAttachments - Collection of EmailAttachment objects to include.public void sendEmail(java.lang.String pSubject,
java.lang.String pBody,
java.util.Collection<java.lang.String> pRecipientAddresses)
pSubject - The subject line for the email.pBody - The html body that will be used as the email body to be sent. A simple string can also be used instead of html.pRecipientAddresses - A Collection of email addresses that the email will be sent to.public void sendEmail(java.lang.String pSubject,
java.lang.String pBody,
java.util.Collection<java.lang.String> pRecipientAddresses,
java.util.Collection<EmailAttachment> pAttachments)
pSubject - The subject line for the email.pBody - The html body that will be used as the email body to be sent. A simple string can also be used instead of html.pRecipientAddresses - A Collection of email addresses that the email will be sent to.pAttachments - Collection of EmailAttachment objects to include.public void sendEmail(java.lang.String pSubject,
java.lang.String pBody,
SendEmailOptions pSendEmailOptions,
java.util.Collection<EmailAttachment> pAttachments)
pSubject - The subject line for the email.pBody - The html body that will be used as the email body to be sent. A simple string can also be used instead of html.pSendEmailOptions - a SendEmailOptions POJO with the email recipients and aggregation settings.pAttachments - Collection of EmailAttachment objects to include.public java.lang.String getGroovyKey()
getGroovyKey in class BaseFunctionspublic void cleanup()
cleanup in class BaseFunctions