[plug] Mail Filtering
Anthony J. Breeds-Taurima
tony at cantech.net.au
Wed Aug 28 16:21:22 WST 2002
On Wed, 28 Aug 2002, I am the LinuxAlien wrote:
> What i now need is for it to work differently, i need it to split into 2
> different files.
Given that the email looks like:
---------------------
Matthew Whocare
Sarah Wile
Katlen Minkle
Mill Nasf
---------------------
Your existing script will already place the data in registered.txt verbatum.
Add something like:
---
s/\n/<br>/g;
open(DATA, ">public_html/registered_flash.txt") or
die "failed to open public_html/registered_flash.txt: $!\n";
print DATA "names=$_";
close(DATA);
---
At the end of the existing script. You should learn perl, or any other
appropriate tool.
Yours Tony
Jan 22-25 2003 Linux.Conf.AU http://linux.conf.au/
The Australian Linux Technical Conference!
More information about the plug
mailing list