org.jdesktop.swingx.util
Interface MailTransportProxy
public interface MailTransportProxy
This is a proxy interface to allow usage of the JDIC mail transport for error logging
without adding dependensies on the JDIC itaelf.
mailMessage
void mailMessage(List<String> toAddr,
List<String> ccAddr,
String subject,
String body,
List<String> attach)
throws Error
- Compose and send message
- Parameters:
toAddr
- List of addresses to whom to send this mesageccAddr
- List of addresses to whom to carbon-copy this messagesubject
- Message subjectbody
- Message main textattach
- Pathis to files that needs to be send in attachment with this message
- Throws:
Error