sending mail using Net::SMTP client

2002-05-09 Thread David Ravikumar
Hi, I am trying to send a mail via Net::SMTP The code is below $smtp = Net::SMTP->new("smtp.domain.com"); $smtp->to("[EMAIL PROTECTED]"); $smtp->data(); $smtp->datasend("To: [EMAIL PROTECTED]"); $smtp->datasend("From: [EMAIL PROTECTED] \n"); $smtp->datasend(

RE: cgi question

2002-05-09 Thread Scot Robnett
This question depends on what platform and web server you are using. Seeing "wwwroot" I would assume it is Windows, but seeing the path /usr/local/bin/perl certainly indicates *NIX. I have seen some *NIX web hosting companies create a wwwroot directory as your main document directory, though. In f

cgi question

2002-05-09 Thread Lance Prais
I have never used CGI before and I was wondering if someone out there could give me a good site that explains how to set up the environment. I installed cgi.pm to the usr/local/bin/perl directory. Do I need to create a cgi-bin folder. if so what do I need to include in it. Where do I place the s

Fwd: update mixes fields up??

2002-05-09 Thread Sven Bentlage
> > > Hi > below is a small sub I wrote. It works, but mixes up the updates for > several fields. > The update query should take every value and update the assigned column. > But every time it happens, that after the columns are omitted or added > so that the columns are not correctly updated. >