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

Net::Support parameters for MAIL FROM and RCPT TO #3359

Closed
wants to merge 5 commits into from

Conversation

c960657
Copy link

@c960657 c960657 commented Jul 23, 2020

In Net::SMTP, add support for parameters for MAIL FROM and RCPT TO, such as SMTPUTF8 and REQUIRETLS.

I suggest extending Net::SMTP#mailfrom and Net::SMTP#rcpto so they accept an additional optional Array or Hash of parameters.

For Net::SMTP#send_message and Net::SMTP#open_message_stream, I suggest that in addition to a String email address (or arrays of Strings), these methods should accept a pair (or arrays of pairs) of [addr, params], where addr is the String email address, and params is an Array or Hash of parameters.

In order for the parameters to be useful, we should expose the capabilities reported by EHLO, so capable? should be made public.

@c960657 c960657 marked this pull request as ready for review July 24, 2020 06:39
@c960657
Copy link
Author

c960657 commented Nov 28, 2020

New PR here: ruby/net-smtp#18

@c960657 c960657 closed this Nov 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant