hi
On Sun, Jun 22, 2008 at 2:47 AM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> Francisco Valladolid wrote:
>>
>> This is the script:
>>
>> #!/usr/bin/perl -w
>> use strict;
>> use CGI qw/:standard/;
>>
>> require Mail::Send;
>>
>> my ($msg, $fh, $body, $mail_to);
>>
>> my $body =<> bla bla bl
Francisco Valladolid wrote:
This is the script:
#!/usr/bin/perl -w
use strict;
use CGI qw/:standard/;
require Mail::Send;
my ($msg, $fh, $body, $mail_to);
my $body =new(Subject=>'subject');
$msg->to($mail_to);
$msg->cc('[EMAIL PROTECTED]');
$fh = $msg->open;
On Sun, Jun 22, 2008 at 9:38 AM, Gunnar Hjalmarsson <[EMAIL PROTECTED]> wrote:
> Francisco Valladolid wrote:
>>
>> I'm writting a basic Perl script to send mail using the Mail::Send
>> module for it via CGI.pm
>>
>> I have:
>>
>> ...
>> use CGI qw/:standard/;
>>
>> print header,
>> start_html
Francisco Valladolid wrote:
I'm writting a basic Perl script to send mail using the Mail::Send
module for it via CGI.pm
I have:
...
use CGI qw/:standard/;
print header,
start_html('Sending ...'):
$mail_to = param('email');
$msg = Mail::Send->new;
You can skip that line.
$msg = Mai
Hi folks.
I'm writting a basic Perl script to send mail using the Mail::Send
module for it via CGI.pm
I have:
...
use CGI qw/:standard/;
print header,
start_html('Sending ...'):
$mail_to = param('email');
$msg = Mail::Send->new;
$msg = Mail::Send->new(Subject=>Some Subject', To=>$mail_