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

Commits on Nov 7, 2024

  1. Add a newline before the first boundary.

    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.
    adrcunha committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    4033f90 View commit details
    Browse the repository at this point in the history