demianturner / sgl-docs-tickets-migration-test

0 stars 0 forks source link

ability to override emailqueue #1692

Open demianturner opened 11 years ago

demianturner commented 11 years ago

When 'emailQueue.enabled' is set in the config, all mail will be directed to the email queue. Sometimes it is handy to override this option and send mail directly via the mailer. This could be achieved by adding an extra option to $aDeliveryOpts: 'noQueue' and build in one extra test in SGL_Emailer2::send.

Let me know if this is useful and I'll proveide a patch for it.

demianturner commented 11 years ago

[demian] Hi Peter

While these are good ideas, I think we're suffering 'option creep' here. Let's wait until we have an easier way for endusers to make as many config modifications as they like w/out affecting core libs, i think that would be a better approach.