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

Delivery with RCPT / NOTIFY not achievable #1588

Open
sdalu opened this issue Sep 21, 2023 · 0 comments
Open

Delivery with RCPT / NOTIFY not achievable #1588

sdalu opened this issue Sep 21, 2023 · 0 comments

Comments

@sdalu
Copy link

sdalu commented Sep 21, 2023

I would like to send an email with notification enabled, as parser is checking email address validity, I'm building the to field using Net::SMTP::Address but that's not working either.

mail = Mail.new do
  delivery_method :smtp
  to   Net::SMTP::Address.new("dest@foo.bar", { :NOTIFY => 'SUCCESS,FAILURE,DELAY'} )
  from 'src@foo.bar'
  subject    "Notify test"
  body       "test"
end

mail.deliver!
@sdalu sdalu changed the title Delivery with RCPT TO NOTIFY not achievable Delivery with RCPT / NOTIFY not achievable Oct 5, 2023
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

No branches or pull requests

1 participant