Package | Description |
---|---|
com.jscape.inet.smtp | |
com.jscape.inet.smtpssh | |
com.jscape.inet.smtpssl |
Modifier and Type | Method and Description |
---|---|
abstract void |
Smtp.Authentication.apply(Smtp client,
java.lang.String username,
java.lang.String password) |
Smtp |
Smtp.connect()
Connects to SMTP server.
|
void |
Smtp.disconnect()
Disconnects from SMTP server.
|
java.lang.String |
Smtp.issueCommand(java.lang.String command)
Sends command to SMTP server Command must be a valid SMTP command.
|
void |
Smtp.login(java.lang.String username,
java.lang.String password)
Login to SMTP server using standard username / password authentication.
|
void |
Smtp.login(java.lang.String username,
java.lang.String password,
int authenticationCode)
Login to SMTP server using provided username, password and
authentication mode.
|
void |
Smtp.login(java.lang.String username,
java.lang.String password,
Smtp.Authentication authentication) |
void |
Smtp.send(EmailMessage message)
Sends email message.
|
void |
Smtp.send(EmailMessage message,
java.lang.String from,
java.lang.String to)
Sends email message.
|
void |
Smtp.send(java.lang.String from,
java.lang.String to,
java.lang.String subject,
java.lang.String body)
Sends basic email message.
|
Modifier and Type | Method and Description |
---|---|
SmtpSsh |
SmtpSsh.connect()
Connects to SMTP server tunnelling data through SSH server.
|
void |
SmtpSsh.disconnect()
Disconnects from SMTP and SSH servers.
|
Modifier and Type | Method and Description |
---|---|
Smtp |
SmtpSsl.connect()
Securely connects to SMTP server using SSL.
|
void |
SmtpSsl.disconnect()
Disconnects from SMTP server.
|
Copyright © JSCAPE LLC. 1999-2021. All Rights Reserved