public class SendHtml extends Object
Constructor and Description |
---|
SendHtml() |
Modifier and Type | Method and Description |
---|---|
static void |
collect(String body,
javax.mail.Message msg) |
protected static URL |
getAttachemntURL(String attachment) |
static void |
sendHtml(Email email) |
static void |
sendHtml(Email email,
Connection connection) |
public static void sendHtml(Email email)
public static void sendHtml(Email email, Connection connection)
public static void collect(String body, javax.mail.Message msg) throws javax.mail.MessagingException, IOException
javax.mail.MessagingException
IOException
protected static URL getAttachemntURL(String attachment) throws MalformedURLException
MalformedURLException
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.