Package com.mchange.net
Interface MailSender
- All Known Implementing Classes:
SmtpMailSender
public interface MailSender
-
Method Summary
-
Method Details
-
sendMail
void sendMail(String from, String[] to, String[] cc, String[] bcc, String subject, String body, String encoding) throws IOException, ProtocolException, UnsupportedEncodingException cc and bcc may be null. -
sendMail
void sendMail(String from, String[] to, String[] cc, String[] bcc, String subject, String body) throws IOException, ProtocolException cc and bcc may be null. Uses the default encoding...- Throws:
IOException
ProtocolException
-