|Welcome to the Monastery|
question about forwarding variables to php from perlby nathan0601 (Initiate)
|on Dec 15, 2003 at 07:46 UTC||Need Help??|
nathan0601 has asked for the wisdom of the Perl Monks concerning the following question:
I am working with a host that has Mojo Mail installed.
What I would like to do is have the parse aspect of mojo receive the email sent to the command line email (piped to the mojo send mail script) grab the email, parse the information and then pass off the vars to a separate script in php either as post or get method so I can work with the variables with a php app as well.
Has anyone parsed email in perl and then passed the info off to php? asp? how about to another perl script?
I know that the mojo_send.pl file has the parsing handled, so what I thought could work would be to have that script stop shy of sending the email using mojo, and instead post the variables it has parsed to my php script.
Does perl have the ability to do this? The host I am working with does not have the ability to facilitate command line php email alias reception, so I am having to learn perl in a hurry.
Thanks in advance.Edited by Chady -- fixed formatting of paragraphs