public class Mailer2 extends Object
Constructor and Description |
---|
Mailer2() |
Mailer2(String server,
int port,
String user,
String password) |
Modifier and Type | Method and Description |
---|---|
void |
addBodyPart(javax.mail.BodyPart part) |
void |
addRecipients(javax.mail.Message.RecipientType recipientType,
javax.mail.Address[] addresses) |
void |
sendMail(String subject,
String content) |
void |
setSender(String emailAddress,
String realName) |
public void setSender(String emailAddress, String realName) throws javax.mail.MessagingException, UnsupportedEncodingException
javax.mail.MessagingException
UnsupportedEncodingException
public void addRecipients(javax.mail.Message.RecipientType recipientType, javax.mail.Address[] addresses) throws XPathException
XPathException
public void addBodyPart(javax.mail.BodyPart part) throws XPathException
XPathException
Copyright (c) 2004-2013 Saxonica Limited. All rights reserved.