Package com.guilhermechapiewski.fluentmail.email

Examples of com.guilhermechapiewski.fluentmail.email.EmailMessage


    // configure programatically your mail server info
    EmailTransportConfiguration.configure("smtp.server.com", true,
        false, "username", "password");

    // and go!
    new EmailMessage().from("demo@guilhermechapiewski.com").to(yourAddress)
        .withSubject("Fluent Mail API")
        .withAttachment("file_name")
        .withBody("Demo message").send();

    System.out.println("Check your inbox!");
View Full Code Here

TOP

Related Classes of com.guilhermechapiewski.fluentmail.email.EmailMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.