org.springframework.mail.cos
Class CosMailSenderImpl


public class CosMailSenderImpl
implements MailSender

Simple implementation of SMTP mail sending on top of Jason Hunter's MailMessage class that's included in COS (com.oreilly.servlet).

Does not support any richer functionality than MailSender and SimpleMailMessage, therefore there's no optional richer interface like the JavaMailSender interface for the JavaMailSenderImpl implementation.

Author:
Juergen Hoeller
Version: $Id: CosMailSenderImpl.java,v 1.5 2004/02/09 18:59:49 jhoeller Exp $
Since: 09.10.2003
See Also: com.oreilly.servlet.MailMessage, JavaMailSenderImpl

Method Summary
 voidsend(SimpleMailMessage simpleMessage)
           
 voidsend(SimpleMailMessage[] simpleMessages)
           
 voidsetHost(String host)
          Set the SMTP mail host.

Method Detail

send

public void send(SimpleMailMessage simpleMessage)
throws org.springframework.mail.MailException

send

public void send(SimpleMailMessage[] simpleMessages)
throws org.springframework.mail.MailException

setHost

public void setHost(String host)
Set the SMTP mail host.

Association Links

to Class java.lang.String