January 21, 2009
Can I make a email list form where the input data automatically gets added to the outgoing email list?
Reginald
Link: www.leadsandlistbuilding.com
Comment on this Post
This is pretty simplistic, but it's worked fine for mailing lists of a thousand names or so. I have a form that collects the visitor's name and email address, and calls a simple Perl script (formmail is Perl, isn't it?). I keep the email list as a DBM file, keyed by email address, and add the visitor thusly:
dbmopen(%MAILLIST, "$maillist", 0644) or die "cant open mail list: $!";
$MAILLIST{$formdata{'email'}} = $formdata{'name'};
dbmclose %MAILLIST;
I also send the visitor a confirming email with an opt-out link in the form ..remove.cgi?email=you@yours.net
From Can I make a email list form where the input data automatically gets added to the outgoing email list?, 2009/01/24 at 3:48 PM
Filed under Programming & Design by




Comments on Can I make a email list form where the input data automatically gets added to the outgoing email list?
This is pretty simplistic, but it's worked fine for mailing lists of a thousand names or so. I have a form that collects the visitor's name and email address, and calls a simple Perl script (formmail is Perl, isn't it?). I keep the email list as a DBM file, keyed by email address, and add the visitor thusly:
dbmopen(%MAILLIST, "$maillist", 0644) or die "cant open mail list: $!";
$MAILLIST{$formdata{'email'}} = $formdata{'name'};
dbmclose %MAILLIST;
I also send the visitor a confirming email with an opt-out link in the form ..remove.cgi?email=you@yours.net