|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unitils.mail.impl.SmtpMessageImpl
public class SmtpMessageImpl
Wrapper class for the SMTP message class of Wiser.
| Constructor Summary | |
|---|---|
SmtpMessageImpl(String from,
String subject,
String body,
List<String> to,
List<String> cc,
File... attachments)
|
|
SmtpMessageImpl(String from,
String subject,
String body,
List<String> to,
List<String> cc,
List<String> bcc,
File... attachments)
Constructor of SmtpMessage. |
|
SmtpMessageImpl(String from,
String subject,
String body,
String to)
|
|
SmtpMessageImpl(String from,
String subject,
String body,
String to,
File... attachments)
|
|
SmtpMessageImpl(org.subethamail.wiser.WiserMessage message)
Constructor of SmtpMessage. |
|
| Method Summary | |
|---|---|
List<byte[]> |
getAttachments()
This method give you the attachments of the email. |
List<String> |
getBcc()
This will return the BCC addresses of the email. |
String |
getBody()
This method gives you the text body of the email. |
List<String> |
getCc()
This will return the CC addresses of the email. |
String |
getFrom()
This method gives you the from header of the email. |
String |
getSubject()
This method gives you the subject of the email . |
List<String> |
getTo()
This method gives you the receiver of the email. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SmtpMessageImpl(String from,
String subject,
String body,
String to)
throws IOException
from - subject - body - to -
IOException
public SmtpMessageImpl(String from,
String subject,
String body,
String to,
File... attachments)
throws IOException
from - subject - body - to - attachments -
IOException
public SmtpMessageImpl(String from,
String subject,
String body,
List<String> to,
List<String> cc,
File... attachments)
throws IOException
from - subject - body - to - attachments -
IOException
public SmtpMessageImpl(String from,
String subject,
String body,
List<String> to,
List<String> cc,
List<String> bcc,
File... attachments)
throws IOException
from - subject - body - to - cc - bcc - attachments -
IOException
public SmtpMessageImpl(org.subethamail.wiser.WiserMessage message)
throws IOException,
javax.mail.MessagingException
message - of type SmtpMessage
javax.mail.MessagingException
IOException| Method Detail |
|---|
public String getBody()
SmtpMessage
getBody in interface SmtpMessageStringSmtpMessage.getBody()public String getFrom()
SmtpMessage
getFrom in interface SmtpMessagepublic String getSubject()
SmtpMessage
getSubject in interface SmtpMessagepublic List<String> getTo()
SmtpMessage
getTo in interface SmtpMessagepublic List<byte[]> getAttachments()
SmtpMessage
getAttachments in interface SmtpMessageListpublic List<String> getBcc()
SmtpMessage
getBcc in interface SmtpMessageListpublic List<String> getCc()
SmtpMessage
getCc in interface SmtpMessageStringpublic String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||