Package com.avoka.fc.core.service.email
Class ExchangeEmailService
- java.lang.Object
-
- com.avoka.fc.core.service.BaseService
-
- com.avoka.fc.core.service.CayenneService
-
- com.avoka.fc.core.service.email.AbstractEmailService
-
- com.avoka.fc.core.service.email.ExchangeEmailService
-
- All Implemented Interfaces:
IEmailService
,IServiceDefinitionAware
public class ExchangeEmailService extends AbstractEmailService
Provides an Microsoft Exchange Email Service.- Since:
- 4.3.2
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.avoka.fc.core.service.email.AbstractEmailService
AbstractEmailService.EmailFormat, AbstractEmailService.TempForm, AbstractEmailService.TempSubmission, AbstractEmailService.TempSubmissionExtractData, AbstractEmailService.TempUser
-
-
Field Summary
-
Fields inherited from class com.avoka.fc.core.service.email.AbstractEmailService
EMAIL_INFO_EVENT_LOG_PATTEN, serviceDefinition
-
-
Constructor Summary
Constructors Constructor Description ExchangeEmailService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExchangePassword()
String
getExchangeUrl()
String
getExchangeUser()
String
getSenderAddress()
void
sendEmailMessage(String subject, String message, String fromAddress, String replyToAddress, String toAddress, String ccAddress, String bccAddress, Map<String,byte[]> attachmentMap, Submission submission)
Send an email message.void
setExchangePassword(String exchangePassword)
void
setExchangeUrl(String exchangeUrl)
void
setExchangeUser(String exchangeUser)
void
setSenderAddress(String senderAddress)
-
Methods inherited from class com.avoka.fc.core.service.email.AbstractEmailService
getServiceDefinition, getTemplatedEmailMessageForPortal, getTemplatedEmailMessageForSubmission, getTemplatedEmailMessageForSubmission, queueAccountStatusNotification, queueEmail, queueEmail, queueEmail, queueEmail, queueFormReceiptEmail, queueFormReceiptEmail, queueNewAccountNotification, queueOrSendFormConfirmationReceiptMessage, queuePromotionNotificationMessage, queueSavedFormEmail, queueSavedFormEmail, queueShareFormEmail, queueSubmissionUpdateNotification, queueTemplatedMessageForPortal, renderDeploymentPropertyTemplate, sendDuplicatePaymentAlertEmailToClientAdmin, sendEmailVerification, sendEmailVerification, sendFormConfirmationMessage, sendFormReceiptMessage, sendFraudAlertEmailToClientAdmin, sendLostPasswordMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessageWithSubmissionAttachments, sendSavedFormEmail, sendSavedFormEmail, sendTaskNotification, sendTemplatedMessageForPortal, sendWelcomeUserMessage, sendWelcomeUserMessage, setServiceDefinition
-
Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Method Detail
-
sendEmailMessage
public void sendEmailMessage(String subject, String message, String fromAddress, String replyToAddress, String toAddress, String ccAddress, String bccAddress, Map<String,byte[]> attachmentMap, Submission submission)
Send an email message.- Parameters:
subject
- email subjectmessage
- email message bodyfromAddress
- the from addressreplyToAddress
- the reply-to addresstoAddress
- email to addressccAddress
- email address to ccbccAddress
- email address to bccattachmentMap
- attachments mapsubmission
- the submission the email relates to (optional)
-
getExchangeUser
public String getExchangeUser()
- Returns:
- the exchangeUser
-
setExchangeUser
public void setExchangeUser(String exchangeUser)
- Parameters:
exchangeUser
- the exchangeUser to set
-
getExchangePassword
public String getExchangePassword()
- Returns:
- the exchangePassword
-
setExchangePassword
public void setExchangePassword(String exchangePassword)
- Parameters:
exchangePassword
- the exchangePassword to set
-
getExchangeUrl
public String getExchangeUrl()
- Returns:
- the exchangeUrl
-
setExchangeUrl
public void setExchangeUrl(String exchangeUrl)
- Parameters:
exchangeUrl
- the exchangeUrl to set
-
getSenderAddress
public String getSenderAddress()
- Returns:
- the senderAddress
-
setSenderAddress
public void setSenderAddress(String senderAddress)
- Parameters:
senderAddress
- the senderAddress to set
-
-