public class SimpleEmailServiceMailSender extends Object implements org.springframework.mail.MailSender, org.springframework.beans.factory.DisposableBean
| Constructor and Description |
|---|
SimpleEmailServiceMailSender(com.amazonaws.services.simpleemail.AmazonSimpleEmailService amazonSimpleEmailService) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected com.amazonaws.services.simpleemail.AmazonSimpleEmailService |
getEmailService() |
void |
send(org.springframework.mail.SimpleMailMessage... simpleMailMessages) |
void |
send(org.springframework.mail.SimpleMailMessage simpleMailMessage) |
public SimpleEmailServiceMailSender(com.amazonaws.services.simpleemail.AmazonSimpleEmailService amazonSimpleEmailService)
public void send(org.springframework.mail.SimpleMailMessage simpleMailMessage)
throws org.springframework.mail.MailException
send in interface org.springframework.mail.MailSenderorg.springframework.mail.MailExceptionpublic void send(org.springframework.mail.SimpleMailMessage... simpleMailMessages)
throws org.springframework.mail.MailException
send in interface org.springframework.mail.MailSenderorg.springframework.mail.MailExceptionpublic final void destroy()
throws Exception
destroy in interface org.springframework.beans.factory.DisposableBeanExceptionprotected com.amazonaws.services.simpleemail.AmazonSimpleEmailService getEmailService()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.