Skip email when using internal request #492
Closed
AlfonsoUceda
started this conversation in
General
Replies: 1 comment 1 reply
|
You can configure the behavior you want with the current code: send_email do |mail|
super(mail) unless internal_request?
endTherefore, I don't think additional configuration is needed. If you still believe so, can you explain why? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I'm using Rodauth and rodauth-rails, I have to create accounts and verify them manually using internal requests but I don't want to send an email because there is no need, I control the creation manually.
When creating the account, the verify account email is sent.
I've seen that there is no way to avoid this. @jeremyevans have you thought to add configuration for all places where you can use an internal request and avoid sending email?
Am I doing something wrong?
Cheers,
Alfonso
All reactions