Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions api/src/main/java/org/jboss/seam/mail/api/MailMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.jboss.seam.mail.core.MailConfig;
import org.jboss.seam.mail.core.MailTransporter;
import org.jboss.seam.mail.core.SendFailedException;
import org.jboss.seam.mail.core.TemplatingException;
import org.jboss.seam.mail.core.enumerations.ContentDisposition;
import org.jboss.seam.mail.core.enumerations.ContentType;
import org.jboss.seam.mail.core.enumerations.MessagePriority;
Expand Down Expand Up @@ -331,6 +332,13 @@ public MailMessage addAttachment(String fileName, String mimeType, ContentDispos
*/
public MailMessage bodyHtmlTextAlt(String html, String text);

/**
* Set the charset of the message. Otherwise defaults to Charset.defaultCharset()
*
* @param contentType
*/
public MailMessage charset(String charset);

/**
* Set the Content Type of the message
*
Expand Down
Loading