networkteam/neos-mailjet-formfinisher

There is no license information available for the latest version (1.0.0) of this package.

Form Finisher using mailjet

1.0.0 2021-09-03 08:53 UTC

This package is auto-updated.

Last update: 2024-03-29 03:59:39 UTC


README

This package provides an additional form finisher for the Flow Form Framework to be used with mailjet.com to send template based mails via their SMTP API.

Configuration

There are two ways to configure the sending of the mails by the mailjet system. The first one is to use the general Neos/Flow way by configuring the NeosSwiftMailer

Neos:
 SwiftMailer:
    transport:
         type: 'Swift_SmtpTransport'
        options:
            host: 'in-v3.mailjet.com'
            port: 587
            username: '<MailjetUser>'
            password: '<MailjetPassword>'
      

All Values can be found in the Mailjet dashboard -> transactional mails -> SMTP

The second option is to use the node configuration on the mailjet finisher itself. This is useful if different departments want to use mailjet with different accounts, e.q. Marketing and Human Resources.

Using the form values in the mailjet template

The configured fields in the form are populated as variables to the mailjet templating system. The variables are directly usable with {{var:<field_identifier>}}. To use this the identifier of the form field must be set. When setting an errorReportingRecipient this one will get failure notices for errors occured while rendering the template by mailjet.