in reply to Mail::Send usage question
I guess it's a problem with your exchange server or you reaching it.
Update 2 By default Send.pm uses Mailer.pm which by default uses mail or sendmail to deliver your message. You might want to try explicitly specifying your smtp-server and thereby implicitely using Net::SMTP. You're not dependent on mail or sendmail being installed, which is I guess cause of the 270-error.
require Mail::Send; $msg = new Mail::Send; $msg->to('fmogo@mninter.net'); $msg->subject('Send Mail Test'); $msg->delete($header); $fh = $msg->open('smtp', Server => "smtp.uu.nl") or die "Couldn't open + message: $!" ; print $fh "Just testing the Mail::Send package"; $fh->close;
Perhaps this works.
|
|---|