Class EmailDeliveryMailSender

java.lang.Object
com.oracle.cloud.spring.email.EmailDeliveryMailSender
All Implemented Interfaces:
org.springframework.mail.MailSender
Direct Known Subclasses:
EmailDeliveryJavaMailSender

public class EmailDeliveryMailSender extends Object implements org.springframework.mail.MailSender
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final jakarta.mail.Session
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    EmailDeliveryMailSender(jakarta.mail.Session session, String smtpHost, String smtpUsername, String smtpPassword)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    send(org.springframework.mail.SimpleMailMessage simpleMailMessage)
     
    void
    send(org.springframework.mail.SimpleMailMessage... messages)
     
    protected void
    sendMimeMessage(jakarta.mail.internet.MimeMessage message)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • session

      protected final jakarta.mail.Session session
  • Constructor Details

    • EmailDeliveryMailSender

      public EmailDeliveryMailSender(jakarta.mail.Session session, String smtpHost, String smtpUsername, String smtpPassword)
  • Method Details

    • send

      public void send(org.springframework.mail.SimpleMailMessage simpleMailMessage) throws org.springframework.mail.MailException
      Specified by:
      send in interface org.springframework.mail.MailSender
      Throws:
      org.springframework.mail.MailException
    • send

      public void send(org.springframework.mail.SimpleMailMessage... messages) throws org.springframework.mail.MailException
      Specified by:
      send in interface org.springframework.mail.MailSender
      Throws:
      org.springframework.mail.MailException
    • sendMimeMessage

      protected void sendMimeMessage(jakarta.mail.internet.MimeMessage message) throws org.springframework.mail.MailException
      Throws:
      org.springframework.mail.MailException