de.deepamehta.plugins.mail
Class Mail
java.lang.Object
de.deepamehta.plugins.mail.Mail
public class Mail
- extends Object
Model class that wraps the mail composite access.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dms
private final DeepaMehtaService dms
topic
private final Topic topic
Mail
public Mail(long topicId,
DeepaMehtaService dms)
getBody
public String getBody()
throws Exception
- Throws:
Exception
getRecipients
public RecipientsByType getRecipients()
throws InvalidRecipients
- Throws:
InvalidRecipients
getSender
public javax.mail.internet.InternetAddress getSender()
throws UnsupportedEncodingException,
javax.mail.internet.AddressException
- Throws:
UnsupportedEncodingException
javax.mail.internet.AddressException
getSubject
public String getSubject()
getTopic
public Topic getTopic()
setMessageId
public Topic setMessageId(String messageId)
getAttachmentIds
public Set<Long> getAttachmentIds()
Copyright © 2013. All Rights Reserved.