public interface MailSender
Mail| Modifier and Type | Method and Description |
|---|---|
void |
send(Mail mail)
Sends the given mail to addressee.
|
void send(Mail mail) throws javax.mail.MessagingException
mail - the mail with the transmitter, the receiver, the title and the
message.javax.mail.MessagingException - when any problem is produced during sending.Copyright © 2016. All rights reserved.