Classe Mail

(Actualitzat 30/04/2020, 16:14:57)

Extends:

Implements:

Package: org.psanz.utils

Informació general

SendMail.java

Autor Pablo Sanz
Creado el 4 de enero de 2011, 19:28

Revisada 28/04/2020 13:39:56
   getAttachments
   getBcc
   getCc
   getContent
   getFrom
   getHtml
   getMessage
   getMsg
   getPasswordAuthentication
   getProps
   getSubject
   getTo
   init
   Mail
   Mail
   main
   prepare
   send
   setAttachments
   setBcc
   setCc
   setContent
   setFrom
   setHtml
   setHtmlExtra
   setMsg
   setProps
   setSubject
   setTo
   toString
        
org.psanz.utils.Mail

@return 
@throws 
public String[] getAttachments() {}  
org.psanz.utils.Mail

@return 
@throws 
public String getBcc() {}  
org.psanz.utils.Mail

@return 
@throws 
public String getCc() {}  
org.psanz.utils.Mail

@return 
@throws 
public String getContent() {}  
org.psanz.utils.Mail

@return 
@throws 
public String getFrom() {}  
org.psanz.utils.Mail

@return 
@throws 
public String getHtml() {}  
org.psanz.utils.Mail
@param Session
@return 
@throws 
private MimeMessage getMessage(Session session) {}  
org.psanz.utils.Mail

@return 
@throws 
public Message getMsg() {}  
org.psanz.utils.Mail

@return 
@throws 
public PasswordAuthentication getPasswordAuthentication() {}  
org.psanz.utils.Mail

@return 
@throws 
public java.util.Properties getProps() {}  
org.psanz.utils.Mail

@return 
@throws 
public String getSubject() {}  
org.psanz.utils.Mail

@return 
@throws 
public String getTo() {}  
org.psanz.utils.Mail
Recibe el properties y el contexto para leer los valores de
 mailFrom, mailBcc, username y userclau
@param LeeProps
@param ServletContext
@return 
@throws 
public static void init(LeeProps lp, ServletContext context) {}  
org.psanz.utils.Mail
Crea una nueva instancia de SendMail vacía

@return 
@throws 
public Mail() {}  
org.psanz.utils.Mail
Crea una nueva instancia de SendMail a partir del to y el from
@param String
@param String
@return 
@throws 
public Mail(String from, String to) {}  
org.psanz.utils.Mail
@param String[]
@return 
@throws 
public static void main(String[] args)  {}  
org.psanz.utils.Mail
Prepara el mail

@return 
@throws AddressException, MessagingException, UnsupportedEncodingException
public void prepare() throws AddressException, MessagingException, UnsupportedEncodingException  {}  
org.psanz.utils.Mail

@return 
@throws MessagingException
public void send() throws MessagingException  {}  
org.psanz.utils.Mail
@param String[]
@return 
@throws 
public void setAttachments(String[] attachments) {}  
org.psanz.utils.Mail
@param String
@return 
@throws 
public void setBcc(String bcc) {}  
org.psanz.utils.Mail
@param String
@return 
@throws 
public void setCc(String cc) {}  
org.psanz.utils.Mail
@param String
@return 
@throws 
public void setContent(String content) {}  
org.psanz.utils.Mail
@param String
@return 
@throws 
public void setFrom(String from) {}  
org.psanz.utils.Mail
@param String
@return 
@throws 
public void setHtml(String html) {}  
org.psanz.utils.Mail
@param String
@param String
@return 
@throws 
public void setHtmlExtra(String html, String extra) {}  
org.psanz.utils.Mail
@param Message
@return 
@throws 
public void setMsg(Message msg) {}  
org.psanz.utils.Mail
@param java.util.Properties
@return 
@throws 
public void setProps(java.util.Properties props) {}  
org.psanz.utils.Mail
@param String
@return 
@throws 
public void setSubject(String subject) {}  
org.psanz.utils.Mail
@param String
@return 
@throws 
public void setTo(String to) {}  
org.psanz.utils.Mail

@return 
@throws 
public String toString()    {}