org.filteredpush.client.util
Class MailSender
java.lang.Object
org.filteredpush.client.util.MailSender
public class MailSender
- extends java.lang.Object
Sends the mail through smtp.
It's used to send notification mail to the user to inform the registration
request has been approved or the password if it's forgotten.
- Author:
- Lei Dou
$Id$
|
Method Summary |
static void |
main(java.lang.String[] argv)
|
static void |
sendMail(java.lang.String to,
java.lang.String subject,
java.lang.String content)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MailSender
public MailSender()
main
public static void main(java.lang.String[] argv)
sendMail
public static void sendMail(java.lang.String to,
java.lang.String subject,
java.lang.String content)
throws InvalidConfiguration,
javax.mail.MessagingException
- Throws:
InvalidConfiguration
javax.mail.MessagingException