public class EmailFunctions extends BaseFunctions implements IEmailFunctions
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) |
captureSecureValuesForLogFunction, decryptIntegrationInstance, doSimpleGet, findIntegrationInstanceByCode, getLogFunctions, getServerBaseUrl, setScriptRef
public EmailFunctions()
public EmailFunctions(boolean isExecute, LogFunctions pFLOG)
public void sendEmail(java.lang.String pSubject, java.lang.String pBody, java.lang.Long pGroupId)
sendEmail
in interface IEmailFunctions
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)
sendEmail
in interface IEmailFunctions
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)
sendEmail
in interface IEmailFunctions
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)
sendEmail
in interface IEmailFunctions
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)
sendEmail
in interface IEmailFunctions
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 interface IEmailFunctions
getGroovyKey
in class BaseFunctions
public void cleanup()
cleanup
in interface IEmailFunctions
cleanup
in class BaseFunctions