org.apache.axis2.transport.mail
Class MailClient
java.lang.Object
javax.mail.Authenticator
org.apache.axis2.transport.mail.MailClient
public class MailClient
- extends javax.mail.Authenticator
Constructor Summary |
MailClient(java.lang.String user,
java.lang.String host)
|
MailClient(java.lang.String user,
java.lang.String host,
java.lang.String password)
|
MailClient(java.lang.String user,
java.lang.String host,
java.lang.String password,
boolean debug)
|
Methods inherited from class javax.mail.Authenticator |
getDefaultUserName, getRequestingPort, getRequestingPrompt, getRequestingProtocol, getRequestingSite |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SHOW_MESSAGES
public static final int SHOW_MESSAGES
- See Also:
- Constant Field Values
CLEAR_MESSAGES
public static final int CLEAR_MESSAGES
- See Also:
- Constant Field Values
SHOW_AND_CLEAR
public static final int SHOW_AND_CLEAR
- See Also:
- Constant Field Values
authentication
protected javax.mail.PasswordAuthentication authentication
from
protected java.lang.String from
session
protected javax.mail.Session session
MailClient
public MailClient(java.lang.String user,
java.lang.String host)
MailClient
public MailClient(java.lang.String user,
java.lang.String host,
java.lang.String password)
MailClient
public MailClient(java.lang.String user,
java.lang.String host,
java.lang.String password,
boolean debug)
checkInbox
public int checkInbox(int mode)
throws javax.mail.MessagingException,
java.io.IOException
- Throws:
javax.mail.MessagingException
java.io.IOException
sendMessage
public void sendMessage(java.lang.String to,
java.lang.String subject,
java.lang.String content,
java.lang.String soapAction)
throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
getPasswordAuthentication
public javax.mail.PasswordAuthentication getPasswordAuthentication()
- Overrides:
getPasswordAuthentication
in class javax.mail.Authenticator
Copyright © 2007 Apache Web Services Project. All Rights Reserved.