Package com.xpn.xwiki.plugin.mailsender
Class Mail
- java.lang.Object
-
- com.xpn.xwiki.plugin.mailsender.Mail
-
public class Mail extends Object
The variables to, cc, bcc can contain several email addresses, separated by commas.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Attachment>
getAttachments()
String
getBcc()
String
getCc()
String
getFrom()
String
getHeader(String header)
Map<String,String>
getHeaders()
String
getHtmlPart()
String
getSubject()
String
getTextPart()
String
getTo()
void
setAttachments(List<Attachment> attachments)
void
setBcc(String bcc)
void
setCc(String cc)
void
setFrom(String from)
void
setHeader(String header, String value)
void
setHeaders(Map<String,String> headers)
void
setHtmlPart(String htmlPart)
void
setSubject(String subject)
void
setTextPart(String message)
void
setTo(String to)
String
toString()
-
-
-
Method Detail
-
getAttachments
public List<Attachment> getAttachments()
-
setAttachments
public void setAttachments(List<Attachment> attachments)
-
getFrom
public String getFrom()
-
setFrom
public void setFrom(String from)
-
getTo
public String getTo()
-
setTo
public void setTo(String to)
-
getCc
public String getCc()
-
setCc
public void setCc(String cc)
-
getBcc
public String getBcc()
-
setBcc
public void setBcc(String bcc)
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
getTextPart
public String getTextPart()
-
setTextPart
public void setTextPart(String message)
-
getHtmlPart
public String getHtmlPart()
-
setHtmlPart
public void setHtmlPart(String htmlPart)
-
-