public class SendMailHelper
extends java.lang.Object
This helper class is related to com.dumbster.smtp.SmtpMessage of dumbster-1.9.0.2-SNAPSHOT.jar.
Modifier and Type | Field and Description |
---|---|
static int |
SMTP_PORT |
Modifier and Type | Method and Description |
---|---|
SendMailHelper |
addAttachment(java.lang.String fileAttachment) |
static SendMailHelper |
newInstance() |
void |
send() |
SendMailHelper |
setBodyText(java.lang.String bodyText) |
SendMailHelper |
setRecipient(java.lang.String mailRecipient) |
SendMailHelper |
setSubject(java.lang.String subject) |
public static final int SMTP_PORT
public static SendMailHelper newInstance()
public SendMailHelper setRecipient(java.lang.String mailRecipient)
public SendMailHelper setSubject(java.lang.String subject)
public SendMailHelper setBodyText(java.lang.String bodyText)
public SendMailHelper addAttachment(java.lang.String fileAttachment)
public void send() throws javax.mail.MessagingException
javax.mail.MessagingException
Copyright (C) PDFUnit.com. See here for license.