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
 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.
 

Method Detail

getFrom

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

Returns:
String

getSubject

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

Returns:
String

getTo

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

Returns:
String

getBody

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

Returns:
String

getAttachments

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

Returns:
List

getBcc

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

Returns:
List

getCc

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

Returns:
List


Copyright © 2013. All Rights Reserved.