Package org.apereo.cas.mail
Class SendGridEmailSender
java.lang.Object
org.apereo.cas.mail.SendGridEmailSender
- All Implemented Interfaces:
org.apereo.cas.notifications.mail.EmailSender
public class SendGridEmailSender
extends Object
implements org.apereo.cas.notifications.mail.EmailSender
This is
SendGridEmailSender.- Since:
- 7.0.0
-
Field Summary
Fields inherited from interface org.apereo.cas.notifications.mail.EmailSender
BEAN_NAME -
Constructor Summary
ConstructorsConstructorDescriptionSendGridEmailSender(com.sendgrid.SendGridAPI sendGridAPI, org.springframework.context.MessageSource messageSource) -
Method Summary
Modifier and TypeMethodDescriptionorg.apereo.cas.notifications.mail.EmailCommunicationResultsend(org.apereo.cas.notifications.mail.EmailMessageRequest emailRequest) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apereo.cas.notifications.mail.EmailSender
canSend, determineEmailSubject
-
Constructor Details
-
SendGridEmailSender
public SendGridEmailSender(com.sendgrid.SendGridAPI sendGridAPI, org.springframework.context.MessageSource messageSource)
-
-
Method Details
-
send
public org.apereo.cas.notifications.mail.EmailCommunicationResult send(org.apereo.cas.notifications.mail.EmailMessageRequest emailRequest) - Specified by:
sendin interfaceorg.apereo.cas.notifications.mail.EmailSender
-