MailHandlerInterface
interface MailHandlerInterface (View source)
Provides an interface for assembly and dispatch of contact mail messages.
Methods
sendMailMessages(MessageInterface $message, AccountInterface $sender)
Sends mail messages as appropriate for a given Message form submission.
Details
sendMailMessages(MessageInterface $message, AccountInterface $sender)
Sends mail messages as appropriate for a given Message form submission.
Can potentially send up to three messages as follows:
- To the configured recipient;
- Auto-reply to the sender; and
- Carbon copy to the sender.