Skip to content

Latest commit

 

History

History

using-email-channel

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Email Channel

This project is using the symfony/mailer which provides a really good flexibility in order to use a 3rd party transport.

3rd parties such as:

  • Amazon SES -> composer require symfony/amazon-mailer
  • Gmail -> composer require symfony/google-mailer
  • MailChimp -> composer require symfony/mailchimp-mailer
  • Mailgun -> composer require symfony/mailgun-mailer
  • Postmark -> composer require symfony/postmark-mailer
  • SendGrid -> composer require symfony/sendgrid-mailer

Parameters

Apart from the mandatory parameters, you will need:

MAILER_USERNAME

Value example: your@email.com

MAILER_PASSWORD

Value example: 1he-p@$w0rd

JIRA_IDS_TO_EMAIL

Value example: {'jira.user.account_id': 'his/her@email.com', ...}

It will set the email destination from the user which will receive the email as a notification.

References

Usage

  1. Create the .env file from its dist version: cp .env.dist .env
  2. Update the .env values
  3. Execute it: php console or ./console