Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust docs about setting the email body #17

Merged
merged 1 commit into from
Aug 19, 2019
Merged

Adjust docs about setting the email body #17

merged 1 commit into from
Aug 19, 2019

Conversation

ulbrich-media
Copy link
Contributor

Using "setBody" a second time on the mail object overrides the first call. To add a body with another content type you need to use "addPart".
At the moment the documentation about that is rather confusing.

Please correct me if I understood something wrong. With the current documented way I run into some issues overriding myself.

Using "setBody" a second time on the mail object overrides the first call. To add a body with another content type you need to use "addPart". 
At the moment the documentation about that is rather confusing.
Copy link

@dlubitz dlubitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Regarding swiftmailer docs, you are totally right.
See: https://swiftmailer.symfony.com/docs/messages.html

@daniellienert daniellienert merged commit 429520a into neos:master Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants