|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.sendmail.smtp.SmtpMailSender
public class SmtpMailSender
Sends an e-mail using a SMTP connection.
Constructor Summary | |
---|---|
SmtpMailSender()
|
Method Summary | |
---|---|
protected Collection<String> |
getEmailDestinationStringAsCollection(String destination)
Translates an email destination string into a collection of Strings, each one contaning an email destination. |
protected IMailConfig |
getMailConfig()
Returns the MailConfig with the configurations to be used when sending the e-mail. |
void |
sendMail(SessionConfig sessionConfig,
ISingleMail mail,
ITransaction transaction)
Sends a mail. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SmtpMailSender()
Method Detail |
---|
public void sendMail(SessionConfig sessionConfig, ISingleMail mail, ITransaction transaction) throws PortalException
IMailSender
sendMail
in interface IMailSender
sessionConfig
- the user session informationmail
- information about the mail to be sent.transaction
- the transaction for persistence access.
PortalException
- if it was not possible to send the mail.protected IMailConfig getMailConfig() throws PortalException
PortalException
- if the MailConfig could not be obtained.protected Collection<String> getEmailDestinationStringAsCollection(String destination)
destination
- the email destination string.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |