Bin will be removed on June 1, 2014 in favor of Please save all your pastes before then. So long, and thanks for all the fish!×

queued email compone

View Paste
  1. <?php
  3. App::import('Component', 'Email');
  5. class QueuedEmailComponent extends EmailComponent ...
This is an (untested) idea that I had to queue email instead of sending immediately.