|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.event.listeners.mail.MailSender
public class MailSender
A class to actually send the email, generated from Velocity templates
MailListener
Field Summary | |
---|---|
(package private) String |
from
Deprecated. |
(package private) String |
prefix
Deprecated. |
(package private) String |
sessionLocation
Deprecated. |
(package private) String |
smtpServer
Deprecated. |
Constructor Summary | |
---|---|
MailSender(String sessionLocation,
String smtpServer,
String from)
Deprecated. Create a MailSender given the JNDI session location or SMTP server address, and the from email. |
Method Summary | |
---|---|
String |
getPrefix()
Deprecated. Get the subject prefix for this MailSender. |
static javax.mail.internet.InternetAddress[] |
parseAddresses(String addresses)
Deprecated. Parse addresses from a comma (and space) separated string into the proper array |
void |
send(String to,
String cc,
String subject,
String body)
Deprecated. Send a message. |
void |
setPrefix(String prefix)
Deprecated. Set the subject prefix for this MailSender. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
String sessionLocation
String smtpServer
String from
String prefix
Constructor Detail |
---|
public MailSender(String sessionLocation, String smtpServer, String from)
Method Detail |
---|
public String getPrefix()
public void setPrefix(String prefix)
public void send(String to, String cc, String subject, String body) throws javax.mail.MessagingException, NamingException
javax.mail.MessagingException
NamingException
public static javax.mail.internet.InternetAddress[] parseAddresses(String addresses) throws javax.mail.internet.AddressException
javax.mail.internet.AddressException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |