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

fix for attachments #1

Closed
wants to merge 1 commit into from
Closed

fix for attachments #1

wants to merge 1 commit into from

Conversation

madbob
Copy link
Contributor

@madbob madbob commented Jan 27, 2024

Here a pair of fixes for attachments' handling.

  1. the attribute in the JSON payload is "attachments", not "attachment". Here you find the reference documentation

  2. as bodyToString() already returns a base64-encoded string, there is no need to re-encode it. I've replicated the behaviour adopted by BrevoMailer, that I also use with profit

@nicolas-grekas
Copy link
Member

Please send the patch to https://github.com/symfony/symfony/ 🙏

@madbob
Copy link
Contributor Author

madbob commented Jan 27, 2024

Done - symfony/symfony#53653

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.

2 participants