jodd.mail
Class SmtpSimpleAuthenticator

java.lang.Object
  extended byjavax.mail.Authenticator
      extended byjodd.mail.SmtpSimpleAuthenticator

public class SmtpSimpleAuthenticator
extends javax.mail.Authenticator

Performs simple authentication when the SMTP server requires it.


Constructor Summary
SmtpSimpleAuthenticator(java.lang.String username, java.lang.String password)
           
 
Method Summary
 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
 

Constructor Detail

SmtpSimpleAuthenticator

public SmtpSimpleAuthenticator(java.lang.String username,
                               java.lang.String password)
Method Detail

getPasswordAuthentication

public javax.mail.PasswordAuthentication getPasswordAuthentication()


Jodd v0.24.5 Javadoc