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 SMTPUTF8 support #49

Merged
merged 3 commits into from
Aug 1, 2023
Merged

Add SMTPUTF8 support #49

merged 3 commits into from
Aug 1, 2023

Commits on Jan 12, 2023

  1. Use caller's parameters when creating an Address from Another.

    Until this change, creating an Address would disregard its own parameters
    if the first parameter was an Address.
    arnt committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    2a17dea View commit details
    Browse the repository at this point in the history
  2. Clarify test code.

    "SMTPUTF8" was used as a standin for "an extension the server does not
    support", which did no harm since the test server definitely didn't insert
    that, but confused me for a moment, so this commit changes the name of the
    unsupported extension to DOES-NOT-EXIST.
    arnt committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    37802bf View commit details
    Browse the repository at this point in the history
  3. Add support for SMTPUTF as defined by RFC 6531

    SMTPUTF8 requires a parameter on the MAIL FROM command if either the
    sender address or any of the recipient addresses require SMTPUTF8.
    
    send_message detects the need for SMTPUTF8 and uses the right parameter
    when calling mailfrom. Users who call mailfrom and rcptto themselves must
    detect the need for SMTPUTF8 themselves (or else Net::SMTP will act as
    if SMTPUTF8 were not required by the message).
    arnt committed Jan 12, 2023
    Configuration menu
    Copy the full SHA
    7e1033e View commit details
    Browse the repository at this point in the history