Re: ezmlm-sub or alternative

From: Date: Tue, 12 Oct 2004 01:55:30 +0000
Subject: Re: ezmlm-sub or alternative
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199242@lists.php.net to get a copy of this message
Hi Mark,
I'm writing a little script (my 3rd) that takes name (first, last) and email address and writes it to txt file and submits the email address to an EZMLM list server. All is well but I'm not sure where to go for the submission. The command line - ezmlm-sub works (from the shell)... if the user is root or vpopmail. Is there a safe way to run the shell command via a php script? Or can someone suggest another way to submit an address to ezmlm.
You can make use of the public interface to ezmlm-sub by sending an email to <listname>-subscribe@yourdomain.com. You'll need to set the 'From:' header of your emails to the address of your subscriber. You can find information on the mail() function at http://www.php.net/mail James McGlinn Project Manager BCom, BSc, Zend Certified Engineer (PHP) Servers.co.nz Ltd 68 Shortland St, Auckland PO Box 3688 Shortland St, Auckland, New Zealand Phone: 0800 4 SERVERS Fax: +64 9 358 5187

« previous php.general (#199242) next »