Please forgive the exchange centric question.
I am running:
perl v5.6.1 build 631
Exchange 2000 sp2
I have a mail enabled public folder ([EMAIL PROTECTED]), and I can send an email to the
public folder using outlook and/or the following script.
use Net::SMTP;
$smtp = Net::SMTP->new('mailserver.comp.com');
$smtp->mail('[EMAIL PROTECTED]');
$smtp->to('[EMAIL PROTECTED]');
$smtp->data();
$smtp->datasend("Subject: perfmon threshold exceeded\n");
$smtp->datasend("this is a test message");
$smtp->datasend("\n");
$smtp->dataend();
$smtp->quit;
However, (using the script below) if I send an email to a distribution list
([EMAIL PROTECTED]) that contains a regular mailbox and the mail enabled public
folder, I get the email in the regular user mailbox but not in the public folder.
use Net::SMTP;
$smtp = Net::SMTP->new('mailserver.comp.com');
$smtp->mail('[EMAIL PROTECTED]');
$smtp->to('[EMAIL PROTECTED]');
$smtp->data();
$smtp->datasend("Subject: perfmon threshold exceeded\n");
$smtp->datasend("this is a test message");
$smtp->datasend("\n");
$smtp->dataend();
$smtp->quit;
If I use outlook all works fine.
please help me stop banging my head.
Eric
_________________
Eric Logeson
919-680-5679
www.dukece.com
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs