[freeside-commits] ' 'branch master updated. a0aaff1c093d24a0067074c06e85ccb15d8ecdc8
Ivan
ivan at 420.am
Sun Feb 19 18:30:45 PST 2012
The branch, master has been updated
via a0aaff1c093d24a0067074c06e85ccb15d8ecdc8 (commit)
from 65326fcac5b2de80d211df3fc160745fb2f46b9b (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 a0aaff1c093d24a0067074c06e85ccb15d8ecdc8
Author: Ivan Kohler <ivan at freeside.biz>
Date: Sun Feb 19 18:30:42 2012 -0800
adding some old random tools from the CVS tree
diff --git a/bin/mailtest b/bin/mailtest
new file mode 100755
index 0000000..4821d9c
--- /dev/null
+++ b/bin/mailtest
@@ -0,0 +1,18 @@
+#!/usr/bin/perl
+
+use FS::UID qw(adminsuidsetup);
+use FS::Misc (send_email);
+use FS::Record;
+
+adminsuidsetup(shift) or die "usage: mailtest username\n";
+
+my $error = FS::Misc::send_email (
+ from => 'ivan-test at freeside.biz',
+ to => 'ivan-test at freeside.biz',
+ subject => 'Testing SASL',
+ body => [ "hi there\n", "i'm testing SASL\n" ],
+);
+
+die "can't send test email: $error\n"
+ if $error;
+
-----------------------------------------------------------------------
Summary of changes:
bin/mailtest | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
create mode 100755 bin/mailtest
hooks/post-receive
--
Freeside billing, trouble ticketing, network monitoring and provisioning
More information about the freeside-commits
mailing list