2017 © Pedro Peláez
 

symfony-bundle sdd-sparkpost-transport-bundle

SDDProductions/SDDSparkPostTransportBundle Bundle

image

sddproductions/sdd-sparkpost-transport-bundle

SDDProductions/SDDSparkPostTransportBundle Bundle

  • Tuesday, January 17, 2017
  • by sadortun
  • Repository
  • 1 Watchers
  • 2 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

SDDSparkPostTransport

This bundle is an integration between DigitalState/Platform-Transport-Bundle and SparkPost/php-sparkpost, (*1)

Configuration

The ususal composer require !, (*2)

Transport and Profile configuration

Transport

You need to add a new Transport with the following data:, (*3)

{
    "api_key":"YOUR_SPARKPOST_API_KEY",
    "allowed_sender_domains":
    [
        "example.com",
        "other.example.com"
    ]
}

The api_key is self explanatory. The allowed_sender_domains is the list of domains that are currently allowed and configured in SparkPost., (*4)

Profile

You need to add a new profile with the following data:, (*5)

The Field send_from is used to configured the emails will that is used to send emails through the Transport, (*6)

Possible values :, (*7)

  • Send from specific email:
{
    "send_from": {
        "fullName" : "John Doe",
        "email" : "john.doe@example.com"
    }    
}
  • WIP:CURRENT_USER The from address will be the email address of the current connected user (The user pressing the SEND Button)
{
   "send_from":"CURRENT_USER"
}
  • WIP: ENTITY_OWNER The from address will be the email address of the user that is the Owner of the recipient
{
   "send_from":"ENTITY_OWNER"
}

The Versions

17/01 2017

dev-master

9999999-dev https://github.com/SDDProductions/SDDSparkPostTransportBundle

SDDProductions/SDDSparkPostTransportBundle Bundle

  Sources   Download

MIT

The Requires

 

sparkpost digitalstate-transport

03/01 2017