org.exoplatform.services.mail.impl
Class MailServiceImpl
java.lang.Object
org.exoplatform.services.mail.impl.MailServiceImpl
- All Implemented Interfaces:
- MailService
public class MailServiceImpl
- extends Object
- implements MailService
Created by The eXo Platform SAS Author : Phung Hai Nam phunghainam@gmail.com
Dec 23, 2005
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailServiceImpl
public MailServiceImpl(InitParams params)
throws Exception
- Throws:
Exception
getMailSession
public javax.mail.Session getMailSession()
- Specified by:
getMailSession in interface MailService
getOutgoingMailServer
public String getOutgoingMailServer()
- Specified by:
getOutgoingMailServer in interface MailService
sendMessage
public void sendMessage(String from,
String to,
String subject,
String body)
throws javax.mail.MessagingException,
IOException
- Specified by:
sendMessage in interface MailService
- Throws:
javax.mail.MessagingException
IOException
sendMessage
public void sendMessage(Message message)
throws javax.mail.MessagingException
- Specified by:
sendMessage in interface MailService
- Throws:
javax.mail.MessagingException
sendMessage
public void sendMessage(javax.mail.internet.MimeMessage message)
throws javax.mail.MessagingException
- Specified by:
sendMessage in interface MailService
- Throws:
javax.mail.MessagingException
Copyright © 2009 eXo Platform SAS. All Rights Reserved.