Interface Mailer
-
- All Known Implementing Classes:
MockMailer
public interface MailerAllows sending e-mail from a particularuser@domain.- Author:
- jonmv
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Stringdomain()Returns the domain this is configured to use.voidsend(Mail mail)Sends the given mail as the configured user@domain.java.lang.Stringuser()Returns the user this is configured to use.
-
-
-
Method Detail
-
send
void send(Mail mail)
Sends the given mail as the configured user@domain.
-
user
java.lang.String user()
Returns the user this is configured to use.
-
domain
java.lang.String domain()
Returns the domain this is configured to use.
-
-