in reply to Re: question about forwarding variables to php from perl
in thread question about forwarding variables to php from perl
You might want to check the return result $res to see if the mail has been processed properly by the PHP script.my %vars = ( from => $From_address, # assume multiple addressed are separated by comma to => join(',', @To_addresses), cc => join(',', @Cc_addresses), subject => $Subject, body => $Mail_body, # etc. ); # and then invoke the PHP script via POST # send the POST to php my $url = "http://domain.com/test.php"; my $req = new HTTP::Request; my $res = $us->post($url, \%vars);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: question about forwarding variables to php from perl
by nathan0601 (Initiate) on Dec 15, 2003 at 20:59 UTC | |
by nathan0601 (Initiate) on Dec 19, 2003 at 12:55 UTC |