http://qs1969.pair.com?node_id=632968


in reply to Sending Mail

When you use strict; you have to initialize all variables with the function my.
I.e. my $mail_server = 'xxx.xxx.xx.xx';

Replies are listed 'Best First'.
Re^2: Sending Mail
by sandy1028 (Sexton) on Aug 16, 2007 at 09:50 UTC
    How to get the variables from php file to perl files... Is there any way to get the variables from php file
      Why try to pass between the two languages? Why not set up a mailing form and mail script in either Perl or PHP?
        hi, mail() is not working in php so need to send from perl. The script of mail is working in perl but I am not able to pass the variables from php to perl. If i use <form action="test.pl" method="post"> The contents of test.pl is displayed not just the varibles. Should I include any module to receive the data