com.clickntap.tool.mail
Class Mail.SmtpAuthenticator

java.lang.Object
  extended by javax.mail.Authenticator
      extended by com.clickntap.tool.mail.Mail.SmtpAuthenticator
Enclosing class:
Mail

public class Mail.SmtpAuthenticator
extends javax.mail.Authenticator


Field Summary
protected  javax.mail.PasswordAuthentication passwordAuthentication
           
 
Constructor Summary
Mail.SmtpAuthenticator(String username, String password)
           
 
Method Summary
protected  javax.mail.PasswordAuthentication getPasswordAuthentication()
           
 
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
 

Field Detail

passwordAuthentication

protected javax.mail.PasswordAuthentication passwordAuthentication
Constructor Detail

Mail.SmtpAuthenticator

public Mail.SmtpAuthenticator(String username,
                              String password)
Method Detail

getPasswordAuthentication

protected javax.mail.PasswordAuthentication getPasswordAuthentication()
Overrides:
getPasswordAuthentication in class javax.mail.Authenticator


Copyright © 2014. All rights reserved.