Skip to content

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("[email protected]", size: 12345),
  Net::SMTP::Address("[email protected]", notify: :success))

on SMTP

MAIL FROM:<[email protected]> size=12345
...
RCPT TO:<[email protected]> 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants