[freeside-commits] branch master updated. cc9bdd96a6a3c70b87ef3ed1a9aa15bb0923d61c

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


The branch, master has been updated
       via  cc9bdd96a6a3c70b87ef3ed1a9aa15bb0923d61c (commit)
      from  686ac9dce198f8ddf01e507b3289485b4ef20946 (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 cc9bdd96a6a3c70b87ef3ed1a9aa15bb0923d61c
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed May 15 02:32:57 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