Feature #87200

Allow HTML and text in email finisher

Added by Bernhard Eckl 6 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2018-12-18
Due date:
% Done:

100%

PHP Version:
Tags:
Complexity:
Sprint Focus:
Remote Sprint

Description

There is only the choice between html and text mail, but not send both.

Associated revisions

Revision 9131af8d (diff)
Added by Mathias Brodala about 2 months ago

[FEATURE] Send plaintext and HTML multipart mails

Now by default, mails sent with the EmailFinisher contain both a
plaintext and an HTML part. The latter can be controlled with the
new "addHtmlPart" option which is enabled by default.

The former "format" option is removed from the backend UI and
migrated to the new "addHtmlPart" option.

Resolves: #87200
Releases: master
Change-Id: Id0a58e8cfee07926a555d0d921fed8b41832cb77
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611
Tested-by: TYPO3com <>
Tested-by: Susanne Moog <>
Tested-by: Ralf Zimmermann <>
Reviewed-by: Susanne Moog <>
Reviewed-by: Ralf Zimmermann <>

History

#1 Updated by Mathias Brodala about 2 months ago

  • Sprint Focus set to Remote Sprint

#2 Updated by Mathias Brodala about 2 months ago

  • Status changed from New to Accepted

Actually it does not make sense to send only HTML so I'd propose the following change:

  1. Always render and send HTML and plaintext parts with the mail
  2. Add a new plaintextOnly option to send only a plaintext mail
  3. Deprecate the current format option and migrate to plaintextOnly on the fly

Only sending a plaintext-only mail has benefits given that it can be displayed and processed just fine everywhere. It also helps to increase security given that there is no way to inject malicious code or phishing links. The same cannot be said about a HTML-only mail.

#3 Updated by Mathias Brodala about 2 months ago

  • Status changed from Accepted to In Progress

#4 Updated by Gerrit Code Review about 2 months ago

  • Status changed from In Progress to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#5 Updated by Gerrit Code Review about 2 months ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#6 Updated by Gerrit Code Review about 2 months ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#7 Updated by Gerrit Code Review about 2 months ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#8 Updated by Gerrit Code Review about 2 months ago

Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#9 Updated by Gerrit Code Review about 2 months ago

Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#10 Updated by Gerrit Code Review about 2 months ago

Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#11 Updated by Gerrit Code Review about 2 months ago

Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#12 Updated by Gerrit Code Review about 2 months ago

Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#13 Updated by Gerrit Code Review about 2 months ago

Patch set 10 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#14 Updated by Gerrit Code Review about 2 months ago

Patch set 11 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#15 Updated by Gerrit Code Review about 2 months ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/60611

#16 Updated by Mathias Brodala about 2 months ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF