org.exoplatform.services.mail.impl
Class MailServiceImpl
java.lang.Object
org.exoplatform.services.mail.impl.MailServiceImpl
- All Implemented Interfaces:
- MailService
public class MailServiceImpl
- extends java.lang.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 java.lang.Exception
- Throws:
java.lang.Exception
getMailSession
public javax.mail.Session getMailSession()
- Specified by:
getMailSession in interface MailService
getOutgoingMailServer
public java.lang.String getOutgoingMailServer()
- Specified by:
getOutgoingMailServer in interface MailService
sendMessage
public void sendMessage(java.lang.String from,
java.lang.String to,
java.lang.String subject,
java.lang.String body)
throws javax.mail.MessagingException,
java.io.IOException
- Specified by:
sendMessage in interface MailService
- Throws:
javax.mail.MessagingException
java.io.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 © 2012 eXo Platform SAS. All Rights Reserved.