Hi all,
When I try to use $Server->Mail() as outlined on the Apache::ASP web site,
I get an error that says "can't connect to SMTP server with args
HASH(0x865fa80)". This is when I ust the $Server->Mail({
To => 'email here',
From => 'From here',
etc...
});
This obviously sets up a reference to an anonymous array, which apparently
is not being dereferenced somewhere in the process of getting to SMTP. So I
tried the following:
my $message = {
To => 'email here',
so on, so forth...,
};
$Server->Mail(%$message);
I did this so I could explicitly dereference $message as a hash as it got
passed in (just to see what spring popped out :). But then I get an error
message as such:
[Sun Oct 27 15:46:31 2002] [error] [asp] [31140] [error] need
To argument
to send mail at
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1735.
<--> ,
/usr/lib/perl5/site_perl/5.6.0/Apache/ASP.pm line 1413
I've tried all sorts of gyrations to get this to work to no avail. I
checked to make sure Net::Config and Net::SMTP are present, and they are.
I'm working on a remote server, so I don't have direct access to it.
Any help here will be greatly appreciated.
Thanks,
Thom Crane
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]