[freeside-commits] branch FREESIDE_3_BRANCH updated. a984addb22aa38e5d50bf693e88d3c8821bdfc4b

Ivan ivan at 420.am
Wed May 15 02:33:06 PDT 2013


The branch, FREESIDE_3_BRANCH has been updated
       via  a984addb22aa38e5d50bf693e88d3c8821bdfc4b (commit)
      from  d09f58eb70a6e12ac69a983a530f23231c8775f8 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a984addb22aa38e5d50bf693e88d3c8821bdfc4b
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed May 15 02:33:03 2013 -0700

    queue all email receipts, RT#22731, RT#23023

diff --git a/FS/FS/Misc.pm b/FS/FS/Misc.pm
index afe056f..dbebf33 100644
--- a/FS/FS/Misc.pm
+++ b/FS/FS/Misc.pm
@@ -414,6 +414,20 @@ sub process_send_email {
   '';
 }
 
+=item process_send_generated_email OPTION => VALUE ...
+
+Takes arguments as per send_email() and sends the message.  This 
+will die on any error and can be used in the job queue.
+
+=cut
+
+sub process_send_generated_email {
+  my %args = @_;
+  my $error = send_email(%args);
+  die "$error\n" if $error;
+  '';
+}
+
 =item send_fax OPTION => VALUE ...
 
 Options:

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/Misc.pm |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)




More information about the freeside-commits mailing list