Skip to content

helo doesn't convert IDN domains #53

Description

@simongreen-net

So I have a situation where an app calls Email::Sender::Transport::SMTP, and sends a helo with an IDN (a domain with a UTF-8 character in it). This does not work as Net::Cmd chokes on wide characters.

I could change my code to send a helo as punycode. but then realised if I did this then everything that uses Email::Sender::Transport::SMTP would need to do the same thing, which seems sub optimal.

This pull request automatically will convert any value in the helo field to be the punycode version of the domain (and for an ascii only domain, that is no change at all).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions