hola chicos, pues eso que me da un error, por servidor local, uso xampp con e mercury ya configurado para gmail, aqui os pongo el error y el codigo
Código perl:
Ver originalInsecure $ENV{PATH} while running with -T switch at line 8, line 1.
!/usr/bin/perl
if( $mode eq "BOTH" || $mode eq "EMAIL") {
# Send email order to you...
open (MAIL
,"|$mailprogram"); ( AQUI EL ERROR
) print MAIL
"To: $youremail\n"; print MAIL
"From: $b_email\n"; print MAIL
"Subject: New Online Order\n"; print MAIL
"A new order has been received. A summary of this order appears below.\n"; print MAIL
"Order Date: $months[$month] $day, $year $hour:$min:$sec \n"; print MAIL
"Bill To: \n"; print MAIL
"-------- \n"; print MAIL
" $b_first $b_last \n"; print MAIL
" $b_addr \n"; print MAIL
" $b_addr2 \n"; print MAIL
" $b_city, $b_state $b_zip \n"; print MAIL
" $b_phone \n"; print MAIL
" $b_email \n"; print MAIL
"Ship To: \n"; print MAIL
"-------- \n"; print MAIL
" $s_first $s_last \n"; print MAIL
" $s_addr \n"; print MAIL
" $s_addr2 \n"; print MAIL
" $s_city, $s_state $s_zip \n"; print MAIL
" $s_phone \n"; print MAIL
"Qty Price(\$) Product ID - Product Name\n";