Package com.saxonica.functions.extfn
Class Mailer2
java.lang.Object
com.saxonica.functions.extfn.Mailer2
Helper class for saxon:send-mail() extension function
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBodyPart
(javax.mail.BodyPart part) void
addRecipients
(javax.mail.Message.RecipientType recipientType, javax.mail.Address[] addresses) void
void
-
Constructor Details
-
Mailer2
-
Mailer2
-
-
Method Details
-
setSender
public void setSender(String emailAddress, String realName) throws javax.mail.MessagingException, UnsupportedEncodingException - Throws:
javax.mail.MessagingException
UnsupportedEncodingException
-
addRecipients
public void addRecipients(javax.mail.Message.RecipientType recipientType, javax.mail.Address[] addresses) throws XPathException - Throws:
XPathException
-
addBodyPart
- Throws:
XPathException
-
sendMail
- Throws:
javax.mail.MessagingException
-