Page 1 of 1

PHP PERL

Posted: Wed Nov 17, 2004 9:52 am
by lane18
Hi,
I have one work need to be done. One of the Client is getting E-mails to PERL. what i need is i need to read that E-mail from PERL using PHP and generate output to text document. Is it possible to write program in PHP..? appreciate your help.
Thanks

Posted: Wed Nov 17, 2004 10:37 am
by kettle_drum
Yeah you should be able to whip something up to read the email and write it to a text file. You just need to get the email - connect to the pop server, read the html page if the email is on a web based service, use exec() to call mail on the command line etc.