Class SimpleEmail


  • public class SimpleEmail
    extends Email
    This class is used to send simple internet email messages without attachments.
    Since:
    1.0
    • Constructor Detail

      • SimpleEmail

        public SimpleEmail()
    • Method Detail

      • setMsg

        public Email setMsg​(java.lang.String msg)
                     throws EmailException
        Set the content of the mail.
        Specified by:
        setMsg in class Email
        Parameters:
        msg - A String.
        Returns:
        An Email.
        Throws:
        EmailException - see javax.mail.internet.MimeBodyPart for definitions
        Since:
        1.0