org.kinsources.kiwa.utils
Class MailTools
java.lang.Object
org.kinsources.kiwa.utils.MailTools
public class MailTools
- extends java.lang.Object
- Author:
- Christian P. Momon
Method Summary |
static boolean |
sendSLLHTMLEmail(java.lang.String to,
java.lang.String from,
java.lang.String replyTo,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.CharSequence htmlMessage)
This method sends a email using context.xml file to set the SMTP protocol. |
static void |
sendSLLHTMLEmail(java.lang.String to,
java.lang.String from,
java.lang.String replyTo,
java.lang.String cc,
java.lang.String bcc,
java.lang.String smtpHost,
java.lang.String userLogin,
java.lang.String userPassword,
java.lang.String subject,
java.lang.CharSequence htmlMessage)
This method sends a email using parameter to set the SMTP protocol. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailTools
public MailTools()
sendSLLHTMLEmail
public static boolean sendSLLHTMLEmail(java.lang.String to,
java.lang.String from,
java.lang.String replyTo,
java.lang.String cc,
java.lang.String bcc,
java.lang.String subject,
java.lang.CharSequence htmlMessage)
- This method sends a email using context.xml file to set the SMTP protocol.
- Parameters:
to
- from
- replyTo
- cc
- bcc
- subject
- htmlMessage
-
sendSLLHTMLEmail
public static void sendSLLHTMLEmail(java.lang.String to,
java.lang.String from,
java.lang.String replyTo,
java.lang.String cc,
java.lang.String bcc,
java.lang.String smtpHost,
java.lang.String userLogin,
java.lang.String userPassword,
java.lang.String subject,
java.lang.CharSequence htmlMessage)
- This method sends a email using parameter to set the SMTP protocol.
- Parameters:
to
- from
- replyTo
- cc
- bcc
- smtpHost
- userLogin
- userPassword
- subject
- htmlMessage
-