Package com.atlassian.confluence.mail
Class Email
java.lang.Object
com.atlassian.confluence.mail.Email
- All Implemented Interfaces:
com.atlassian.core.task.Task,Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBodyPart(MimeBodyPart bodyPart) voidvoidexecute()getBody()voidsend(com.atlassian.mail.server.SMTPMailServer mailServer) voidvoidsetDataSources(Collection<DataSource> dataSources) voidvoidsetFromName(String fromName) voidsetInReplyTo(String inReplyTo) voidsetMessageId(String messageId) voidsetMimeType(String mimeType) voidsetReplyTo(String replyTo) voidsetSubject(String subject) void
-
Constructor Details
-
Email
-
-
Method Details
-
execute
- Specified by:
executein interfacecom.atlassian.core.task.Task- Throws:
Exception
-
setBody
-
setMimeType
-
setFrom
-
setFromName
-
setTo
-
setSubject
-
addHeader
-
setReplyTo
-
setInReplyTo
-
setMessageId
-
getBody
-
setDataSources
-
send
public void send(com.atlassian.mail.server.SMTPMailServer mailServer) throws com.atlassian.mail.MailException - Throws:
com.atlassian.mail.MailException
-
addBodyPart
- Throws:
MessagingException
-