Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Mails are send with html despite using "plain" as type #963

Closed
cesasol opened this issue May 17, 2019 · 1 comment
Closed

Mails are send with html despite using "plain" as type #963

cesasol opened this issue May 17, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@cesasol
Copy link
Contributor

cesasol commented May 17, 2019

Bug Report

Steps to Reproduce

Send a mail with the type option set to plain, example payload:

{
  "to": [
    1,
    "cesar@wdinamo.com",
    2,
    {"email": "cesasol@hotmail.com", "name": "Cesar Doe"}
  ],
  "subject": "Prueba",
  "body": "Este es un texto de prueba",
  "type": "plain",
  "data": {}
}

Expected Behavior

Send the raw body of the payload.

Actual Behavior

The mail is sent with html and as plain text resulting in viewing the html code.

Other Context & Screenshots

Screenshot_20190517_173039

Technical Details

  • Device: Desktop
  • OS: Linux
  • Web Server: Nginx
  • PHP Version: 7.2.x
  • Database: MySQL
  • Install Method: cloned the directus repo
@benhaynes benhaynes added the bug Something isn't working label May 18, 2019
@benhaynes benhaynes added this to Needs triage in Bug Triage via automation May 18, 2019
@binal-7span binal-7span added this to In progress in v2.1.1 May 21, 2019
@binal-7span binal-7span self-assigned this May 21, 2019
@binal-7span
Copy link
Contributor

Fixed in #966

Bug Triage automation moved this from Needs triage to Closed May 21, 2019
@binal-7span binal-7span moved this from In progress to Done in v2.1.1 May 28, 2019
samvasko pushed a commit to samvasko/api that referenced this issue Nov 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Bug Triage
  
Closed
v2.1.1
  
Done
Development

No branches or pull requests

3 participants