Class DummyMailSender

java.lang.Object
ubic.gemma.core.util.DummyMailSender
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.mail.MailSender

public class DummyMailSender extends Object implements org.springframework.mail.MailSender, org.springframework.beans.factory.InitializingBean
Mock mail sender for testing.
Author:
Paul
  • Constructor Details

    • DummyMailSender

      public DummyMailSender()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet() throws Exception
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
      Throws:
      Exception
    • send

      public void send(org.springframework.mail.SimpleMailMessage simpleMessage) 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[] simpleMessages) throws org.springframework.mail.MailException
      Specified by:
      send in interface org.springframework.mail.MailSender
      Throws:
      org.springframework.mail.MailException