org.silverpeas.mail.engine
Class SmtpMailSender

java.lang.Object
  extended by org.silverpeas.mail.engine.SmtpMailSender
All Implemented Interfaces:
MailSender

public class SmtpMailSender
extends Object
implements MailSender

This is the SMTP implementation of the MailSender interface. This implementation uses the parameters provided by MailUtil.

Author:
Yohann Chastagnier

Constructor Summary
SmtpMailSender()
           
 
Method Summary
 void send(MailToSend mail)
          Performs a send of a mail.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SmtpMailSender

public SmtpMailSender()
Method Detail

send

public void send(MailToSend mail)
Description copied from interface: MailSender
Performs a send of a mail.

Specified by:
send in interface MailSender
Parameters:
mail - the mail to send.


Copyright © 2016 Silverpeas. All Rights Reserved.