sloppyhack
Technical User
I'm trying to send mail from a machine running W2K Server. I set up the SMTP services on that maching and had the network admin confirm that it's working properly. I get the following error message....
RCPT TO: error (550 5.7.1 Unable to relay for bculler@comcast.net)
when I try to run the following test code....
use Mail::Sendmail;
$mail{smtp} = 'ghx-contperl.corp.myserver.com'; #server running SMTP
$eadd = 'bculler@comcast.net';
$message = "Hello this is a test email";
$subject = "Test";
$from = 'Bryant Culler <bculler@comcast.net>';
%mail = ( To => "$eadd",
From => "$from",
Subject => "$subject",
Message => "$message"
);
sendmail(%mail) or die $Mail::Sendmail::error;
Any ideas?
Cheers,
Sloppyhack
RCPT TO: error (550 5.7.1 Unable to relay for bculler@comcast.net)
when I try to run the following test code....
use Mail::Sendmail;
$mail{smtp} = 'ghx-contperl.corp.myserver.com'; #server running SMTP
$eadd = 'bculler@comcast.net';
$message = "Hello this is a test email";
$subject = "Test";
$from = 'Bryant Culler <bculler@comcast.net>';
%mail = ( To => "$eadd",
From => "$from",
Subject => "$subject",
Message => "$message"
);
sendmail(%mail) or die $Mail::Sendmail::error;
Any ideas?
Cheers,
Sloppyhack