All,

After lot of consideration and confusion I have decided to go for 
mailing using the Apache::ASP object $Server->Mail

I put this code into my file:

***********************************************************
<html>
<body>

Mail sending Trial

<%
use Net::SMTP;
use Net::Config;

$Server->Mail({
               To => '[EMAIL PROTECTED]',
               From => '[EMAIL PROTECTED]',
               Subject => 'Subject of Email',
               Body => 'Body of message. You might have a lot to say 
here!',
               Organization => 'Your Organization',
                CC => '[EMAIL PROTECTED]',
                BCC => '[EMAIL PROTECTED]',
               Debug => 0 || 1,
               });

%>

Mail sent.
</body>
</html>

****************************************************************

And I did not see the mail going. I have the Net::SMTP and 
Net::Config installed and have the following in my httpd.conf file:

PerlSetVar MailHost localhost

Please let me know what is missing or what am I doing wrong. I have a 
Windows 98 system.

Thanks,
Kunal Parekh.


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

Reply via email to