org.unitils.mail
Interface SmtpMessage

All Known Implementing Classes:
SmtpMessageImpl

public interface SmtpMessage

This is the SMTP message .

Author:
Jeroen Horemans, Thomas De Rycke, Willemijn Wouters

Method Summary
 java.util.List<byte[]> getAttachments()
          This method give you the attachments of the email.
 java.util.List<java.lang.String> getBcc()
          This will return the BCC addresses of the email.
 java.lang.String getBody()
          This method gives you the text body of the email.
 java.util.List<java.lang.String> getCc()
          This will return the CC addresses of the email.
 java.lang.String getFrom()
          This method gives you the from header of the email.
 java.lang.String getSubject()
          This method gives you the subject of the email .
 java.util.List<java.lang.String> getTo()
          This method gives you the receiver of the email.
 

Method Detail

getFrom

java.lang.String getFrom()
This method gives you the from header of the email.

Returns:
String

getSubject

java.lang.String getSubject()
This method gives you the subject of the email .

Returns:
String

getTo

java.util.List<java.lang.String> getTo()
This method gives you the receiver of the email.

Returns:
String

getBody

java.lang.String getBody()
This method gives you the text body of the email.

Returns:
String

getAttachments

java.util.List<byte[]> getAttachments()
This method give you the attachments of the email.

Returns:
List

getBcc

java.util.List<java.lang.String> getBcc()
This will return the BCC addresses of the email.

Returns:
List

getCc

java.util.List<java.lang.String> getCc()
This will return the CC addresses of the email.

Returns:
List


Copyright © 2013-2014. All Rights Reserved.