Interface EmailModuleDelegate


  • public interface EmailModuleDelegate
    Provides the interface for sending emails. This is an internal class that is not to be used and may change at any time.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void mail​(ISMTPConfiguration configuration, java.lang.String htmlmsg, java.lang.String plainmsg, java.lang.String subject, java.util.List<java.lang.String> to, java.util.List<java.lang.String> cc, java.util.List<java.lang.String> bcc, IContext context, java.util.List<IMendixObject> attachments)
      Sends an email with the provided details.
    • Method Detail

      • mail

        void mail​(ISMTPConfiguration configuration,
                  java.lang.String htmlmsg,
                  java.lang.String plainmsg,
                  java.lang.String subject,
                  java.util.List<java.lang.String> to,
                  java.util.List<java.lang.String> cc,
                  java.util.List<java.lang.String> bcc,
                  IContext context,
                  java.util.List<IMendixObject> attachments)
           throws CoreException
        Sends an email with the provided details.
        Parameters:
        configuration - the SMTP configuration to send
        htmlmsg - the HTML message to send
        plainmsg - the plain text message to send
        subject - the email subject
        to - the To: addresses
        cc - the Cc: addresses
        bcc - the Bcc: addresses
        context - the context to use for sending the message
        attachments - the Mendix objects to attach to the message
        Throws:
        CoreException