ispman/tasks NotifyUsers_task.pl,1.1,1.1.2.1

Pedro Algarvio <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/tasks
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv14538/tasks

Modified Files:
      Tag: dev_1_3-cyrus_virtdomain
	NotifyUsers_task.pl 
Log Message:
Branch is now "aparently" updated to HEAD, though debuging is needed.


Index: NotifyUsers_task.pl
===================================================================
RCS file: /cvsroot/ispman/ispman/tasks/NotifyUsers_task.pl,v
retrieving revision 1.1
retrieving revision 1.1.2.1
diff -u -d -r1.1 -r1.1.2.1
--- NotifyUsers_task.pl	30 Dec 2004 17:15:42 -0000	1.1
+++ NotifyUsers_task.pl	11 Sep 2006 23:31:27 -0000	1.1.2.1
@@ -1,13 +1,8 @@
-# Still to be done.
-# Write a CLI for this and then add a task
-
-sub NotifyUsers {
-    my ( $domain, $params ) = @_;
-
-    my $module = "$install_dir/lib/send_email_to_domain.lib";
-    do $module;
+# derjohn tried it:
 
-    &sendEmailToDomain( $ispman, $domain, $params );
+sub NotifyUsers_task {
+    my ( $domain, $messagefile ) = @_;
+    push @cmd, "perl $FindBin::Bin/ispman.notifyUsers -d $domain $messagefile";
     return 1;
 }
 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.