Is there anyway to On/Off mailer funtionality?

Hi,

I’m using actionmailer to send emails from my application(25 - 30 types
of emails are generated for various process). Is there anyway to On/Off
mailer functionality at single shot?

Regards
Sarav

Saravanan K. wrote:

Hi,

I’m using actionmailer to send emails from my application(25 - 30 types
of emails are generated for various process). Is there anyway to On/Off
mailer functionality at single shot?

Regards
Sarav

Hi Folks,

I got it…

ActionMailer::Base.perform_deliveries = false

Thanks,
Sarav

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs