public static void sendTextEmail(String to, String from, String subject, String msg, final ServerSetup setup) {
        sendMimeMessage(createTextEmail(to, from, subject, msg, setup));
    }
public static void sendTextEmail ( String to , String from , String subject , String msg , final ServerSetup setup ) { sendMimeMessage ( createTextEmail ( to , from , subject , msg , setup ) ) ; }
Sends a text message using given server setup for SMTP.

@param to      the to address.
@param from    the from address.
@param subject the subject.
@param msg     the test message.
@param setup   the SMTP setup.