public interface JavaMailSender
Modifier and Type | Method and Description |
---|---|
String |
getHost() |
Properties |
getJavaMailProperties() |
String |
getPassword() |
int |
getPort() |
String |
getProtocol() |
javax.mail.Session |
getSession() |
String |
getUsername() |
void |
send(javax.mail.internet.MimeMessage mimeMessage)
Send the mail
|
void |
setHost(String host) |
void |
setJavaMailProperties(Properties javaMailProperties) |
void |
setPassword(String password) |
void |
setPort(int port) |
void |
setProtocol(String protocol) |
void |
setSession(javax.mail.Session session) |
void |
setUsername(String username) |
void send(javax.mail.internet.MimeMessage mimeMessage) throws javax.mail.MessagingException
mimeMessage
- the message to sendjavax.mail.MessagingException
- is thrown if error sending the mail.Properties getJavaMailProperties()
void setJavaMailProperties(Properties javaMailProperties)
void setHost(String host)
String getHost()
void setPort(int port)
int getPort()
void setUsername(String username)
String getUsername()
void setPassword(String password)
String getPassword()
void setProtocol(String protocol)
String getProtocol()
void setSession(javax.mail.Session session)
javax.mail.Session getSession()
Apache Camel