Class EmailServiceImpl

java.lang.Object
org.kuali.rice.kcb.service.impl.EmailServiceImpl
All Implemented Interfaces:
EmailService

public class EmailServiceImpl extends Object implements EmailService
This class is responsible for implementing the service that sends emails to individuals.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Details

    • EmailServiceImpl

      public EmailServiceImpl()
  • Method Details

    • setMailer

      public void setMailer(Mailer mailer)
    • setWeburl

      public void setWeburl(String weburl)
      Sets the weburl attribute value (injected from Spring).
      Parameters:
      weburl -
    • setDefaultSender

      public void setDefaultSender(String defaultSender)
      Sets the default sender address to use if no valid producer email address was specified in the message
      Parameters:
      defaultSender - the default sender address to use if no valid producer email address was specified in the message
    • sendEmail

      public Long sendEmail(MessageDelivery messageDelivery, String recipientEmailAddress, String emailFormat) throws Exception
      First constructs the appropriately formatted mail message then sends it off.
      Specified by:
      sendEmail in interface EmailService
      Parameters:
      messageDelivery -
      recipientEmailAddress -
      emailFormat -
      Returns:
      Long - the id of the email message
      Throws:
      Exception
      See Also:
      • invalid reference
        org.kuali.rice.kcb.service.EmailService#sendNotificationEmail(org.kuali.rice.kcb.bo.MessageDelivery, java.lang.String, java.lang.String)