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

Add a newline before the first boundary. #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adrcunha
Copy link

@adrcunha adrcunha commented Nov 8, 2024

This is required for less flexible SMTPs (like Amazon SES), as explained in section 7.2.1 of the RFC.

Without it, e-mail sending can fail with 554 Transaction failed: Duplicate header 'Content-Type'.

Tested with the Esp8266GMailTestSetName example using Amazon SES and GMail accounts.

Fixes issue #49.

This is required for less flexible SMTPs (like Amazon SES), as explained in section 7.2.1 of the RFC (https://www.w3.org/Protocols/rfc1341/7_2_Multipart.html).

Without it, e-mail sending can fail with "554 Transaction failed: Duplicate header 'Content-Type'".

Tested with the Esp8266GMailTestSetName example using Amazon SES and GMail accounts.
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.

1 participant