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