agave-notifications/notifications-core/src/main/java/org/iplantc/service/notification/util/EmailMessage.java
/**
     * Synchronously sends a multipart email in both html and plaintext format 
     * using an {@link EmailClient} determined by the service settings.
     * 
     * @param recipientName Full name of recipient (ex. John Smith)
     * @param recipientAddress email address of recipient
     * @param subject of the email
     * @param body of the email in plain text format.
     * @throws NotificationException
     */
Synchronously sends a multipart email in both html and plaintext format
using an  EmailClient determined by the service settings.

@param recipientName Full name of recipient (ex. John Smith)
@param recipientAddress email address of recipient
@param subject of the email
@param body of the email in plain text format.
Synchronously sends a multipart email in both html and plaintext format using an EmailClient determined by the service settings . @param recipientName Full name of recipient ( ex . John Smith ) @param recipientAddress email address of recipient @param subject of the email @param body of the email in plain text format .
public static void send(String recipientName, String recipientAddress, String subject, String body, String htmlBody) 
    throws NotificationException 
    {
        log.debug("Sending email to " + recipientAddress + ": " + body);
        EmailClient client = EmailClientFactory.getInstance(Settings.EMAIL_PROVIDER);
        client.send(recipientName, recipientAddress, subject, body, htmlBody);
    }
public static void send ( String recipientName , String recipientAddress , String subject , String body , String htmlBody ) throws NotificationException { log . debug ( "Sending email to " + recipientAddress + ": " + body ) ; EmailClient client = EmailClientFactory . getInstance ( Settings . EMAIL_PROVIDER ) ; client . send ( recipientName , recipientAddress , subject , body , htmlBody ) ; }
Synchronously sends a multipart email in both html and plaintext format
 using an {@link EmailClient} determined by the service settings.
Synchronously sends a multipart email in both html and plaintext format using an { @link EmailClient } determined by the service settings .