SMTPclient
public static interface SMTPLibrary.SMTPClient
Modifier and Type | Method | Description |
---|---|---|
void |
sendMessage(java.lang.String froaddress,
java.lang.String reply_address,
java.lang.String to_address,
java.lang.String mockto_address,
java.lang.String subject,
java.lang.String message) |
Sends the given email address through this client via its host.
|
void sendMessage(java.lang.String froaddress, java.lang.String reply_address, java.lang.String to_address, java.lang.String mockto_address, java.lang.String subject, java.lang.String message) throws java.io.IOException
froaddress
- the from email addressreply_address
- the reply-to email address or character nameto_address
- the to target email addressmockto_address
- the header-name target, maybe the charname@domainsubject
- the subject of the messagemessage
- the message itselfjava.io.IOException
- any I/O errors that occur