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 Net::SMTP::Address #34

Merged
merged 2 commits into from
Dec 11, 2021
Merged

add Net::SMTP::Address #34

merged 2 commits into from
Dec 11, 2021

Conversation

tmtm
Copy link
Collaborator

@tmtm tmtm commented Dec 4, 2021

To add parameters for MAIL FROM or RCPT TO:

smtp.send_message("msg", Net::STMP::Address.new("sender@example.com", size: 12345),
  Net::SMTP::Address("rcpt@example.com", notify: :success))

on SMTP

MAIL FROM:<sender@example.com> size=12345
...
RCPT TO:<rctp@example.com> notify=ssuccess

https://bugs.ruby-lang.org/issues/17047

@c960657
Copy link

c960657 commented Dec 7, 2021

In order to know which parameters can be used for a given server, the capable? method should be made public, like here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants