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.MailSender
org.springframework.mail.MailException
public void send(org.springframework.mail.SimpleMailMessage... simpleMailMessages) throws org.springframework.mail.MailException
send
in interface org.springframework.mail.MailSender
org.springframework.mail.MailException
public final void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
protected com.amazonaws.services.simpleemail.AmazonSimpleEmailService getEmailService()
Copyright © 2015 Pivotal Software, Inc.. All rights reserved.