Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 480 Bytes

readme.md

File metadata and controls

27 lines (20 loc) · 480 Bytes

Email sender Api

Installation

  1. docker-compose up --build from ./

  2. cd app/ && composer install

How to send email:

POST http://localhost:8080/email/create

{
  "fromEmail": "[email protected]",
  "fromName": "Smith",
  "subject": "test subject",
  "recipients": [
      {"email": "[email protected]", "name": "John Doe"}
  ],
  "textPart": "Test Body Mail",
  "htmlPart": ""
}
To send an email via console run:

./bin/console app:create-email --help