Im trying to use the Perl module Mail::Sender to send email through SMTP.
It works great for local domains but when I try to use it for extranet
domains I get an error:
[Local user "'[EMAIL PROTECTED]'" unknown on host "mail.myhost.com"]
This isn't the way it's supposed to work, AFAIK.

I'm on Win2K using SMTP from Rockliffe MailSite 4.5.6 and Perl v5.6.1 (build
630) for MSWin32-x86-multi-thread.
I have security configured for no relay allowed, and Auth ETRN but even
disabled the error occurs.

Any help is appreciated. The test code follows.

Thanks
Arthur

Documentation is here:
http://search.cpan.org/doc/JENDA/Mail-Sender-0.7.10/Sender.pm.html
============================================================
#BOF
# Using Mail::Sender - module for sending mails with/without attachments
through an SMTP server

use Mail::Sender;
 ref ($sender = new Mail::Sender({from => '[EMAIL PROTECTED]',
    smtp => 'mail.myhost.com'})) or die "$Mail::Sender::Error\n";

(ref ($sender->MailMsg({to =>'[EMAIL PROTECTED]',
   subject => 'Mail::Sender test',
   msg => "You,\n This is a Mail::Sender test."}))
  and print "Mail sent OK.") or die "$Mail::Sender::Error\n";

#EOF

==========================================
Arthur Perley
Nice Bar/Internet Cafe
82 E 3rd St
New York, NY 10003-9215
http://www.bigmagic.com
==========================================



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

Reply via email to