We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
if
Hi, I would like to ask is it by design that the after_email callback still get runs even though no email has been sent?
after_email
My current use case:
class ReturnOrders::AfterSubmitNotification < Noticed::Base deliver_by :email, mailer: "ReturnOrderMailer", method: :submitted_for_customer, if: :notification_enabled? after_email :record_notification_activity private def record_notification_activity NotificationActivity.create() end def notification_enabled? notification.enabled? end end
after_email :record_notification_activity, if: :notification_enabled?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I would like to ask is it by design that the
after_email
callback still get runs even though no email has been sent?My current use case:
Expectation
Actual
Question
after_email
callback going to get called no matter the email is sent or not?if
check for theafter_email
callback?The text was updated successfully, but these errors were encountered: