Gidday from Downunder

I have loaded the same script on two servers one will send to my home account and the 
other won't.

I know sendmail path and perl path are correct in both instances while it won't send 
to my home account it will send to my hotmail account.

Any Ideas!

#!/usr/bin/perl

print "Content-Type: text/html\n\n";

$from="colin.johnstone\@det.nsw.edu.au";
$to="colinjohnstone\@ozemail.com.au";
$subject="I\'m sending myself a test e-mail!";
$sendmailpath="/usr/sbin/sendmail";

open (SENDMAIL, "| $sendmailpath -t");
print SENDMAIL "Subject: $subject\n";
print SENDMAIL "From: $from\n";
print SENDMAIL "To: $to\n\n";
print SENDMAIL "This is a test e-mail.\n\n";
print SENDMAIL "-Colin Johnstone";
close (SENDMAIL);

print("sending to...: $to<br>");


Colin Johnstone 
Website Project Officer 
Corporate Website Unit 
Public Affairs Directorate 
ph 9561 8643 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to