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
Since:
7.0.0
  • Field Summary

    Fields inherited from interface org.apereo.cas.notifications.mail.EmailSender

    BEAN_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
    SendGridEmailSender(com.sendgrid.SendGridAPI sendGridAPI, org.springframework.context.MessageSource messageSource)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apereo.cas.notifications.mail.EmailCommunicationResult
    send(org.apereo.cas.notifications.mail.EmailMessageRequest emailRequest)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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:
      send in interface org.apereo.cas.notifications.mail.EmailSender