Nov 15, 2000, 7:39 AM
Post #1 of 3
Reading an e-mail
Done the washing up, done the ironing, thought I'd hack some Perl :-)
I've just found out that my hosting company can redirect an e-mail to a program. What I'd like to be able to do is build an autoresponder so people can send an e-mail to firstname.lastname@example.org with a subject line of say, 'chocolate cake' and have the program mail them the recipe back.
All my books are useless on this though and what I can't figure out is what format does the e-mail header come in and how can I extract the address and subject line?