Package net.emphased.malle.example.javamail

Sample app that uses Javamail Malle implementation to send out an email with the specified parameters.

See: Description

Package net.emphased.malle.example.javamail Description

Sample app that uses Javamail Malle implementation to send out an email with the specified parameters.

Supported system properties:

Gmail command line example:

     java -Dmail.smtp.auth=true \
          -Dmail.smtp.starttls.enable=true \
          -Dmail.smtp.host=smtp.gmail.com \
          -Dmail.smtp.port=587 \
          -Dmail.user=youruser@gmail.com \
          -Dmalle.javamail.password=YourAppPassword \
          -Dto=recipient@example.com \
          -Dsubject="Malle Javamail Example" \
          -Dplain="Hello from Malle Javamail Example" \
          -Dhtml="<h1>Hello from Malle Javamail Example!</h1>" \
          -jar malle-javamail-example-<version>-allinone.jar
 

Copyright © 2015. All rights reserved.