|
|||||||||
| Home >> All >> org >> javahispano >> canyamo >> services >> [ mailer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.javahispano.canyamo.services.mailer
Class SMTPMailer

java.lang.Objectorg.javahispano.canyamo.services.mailer.SMTPMailer
- public class SMTPMailer
- extends java.lang.Object
Description of the Class
| Field Summary | |
private static SMTPMailer |
instance
Mantiene la unica instancia que se permite de esta clase |
private SMTPSession |
smtp
Description of the Field |
private java.lang.String |
user
Description of the Field |
| Constructor Summary | |
private |
SMTPMailer(java.lang.String host,
java.lang.String user,
java.lang.String password)
Constructor for the Canamo object |
| Method Summary | |
static SMTPMailer |
getInstance()
Devuelve el singleton que se mantiene de esta clase |
SMTPMail |
getMimeMail(java.lang.String emailFrom,
java.lang.String subject)
Gets the mimeMail attribute of the SMTPMailer object |
SMTPMail |
getTextMail(java.lang.String emailFrom,
java.lang.String subject)
Gets the textMail attribute of the SMTPMailer object |
static void |
init(java.lang.String host,
java.lang.String user,
java.lang.String password)
Description of the Method |
boolean |
sendMail(SMTPMail mail)
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
instance
private static SMTPMailer instance
- Mantiene la unica instancia que se permite de esta clase
- Since:
smtp
private SMTPSession smtp
- Description of the Field
user
private java.lang.String user
- Description of the Field
| Constructor Detail |
SMTPMailer
private SMTPMailer(java.lang.String host, java.lang.String user, java.lang.String password)
- Constructor for the Canamo object
| Method Detail |
getInstance
public static SMTPMailer getInstance()
- Devuelve el singleton que se mantiene de esta clase
- Since:
init
public static void init(java.lang.String host, java.lang.String user, java.lang.String password)
- Description of the Method
getTextMail
public SMTPMail getTextMail(java.lang.String emailFrom, java.lang.String subject)
- Gets the textMail attribute of the SMTPMailer object
getMimeMail
public SMTPMail getMimeMail(java.lang.String emailFrom, java.lang.String subject)
- Gets the mimeMail attribute of the SMTPMailer object
sendMail
public boolean sendMail(SMTPMail mail)
- Description of the Method
|
|||||||||
| Home >> All >> org >> javahispano >> canyamo >> services >> [ mailer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.javahispano.canyamo.services.mailer.SMTPMailer