Mail form for NT

I'm used to using a PERL script on a UNIX system for my forms using sendmail etc..
Now I work for a company that uses NT with IIS. Is it possible to use a PERL script to process forms in this environment?
I understand IIS has SMTP...
Any suggestions?
mbeavenAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kim RyanIT ConsultantCommented:
Take a look at:
http://www.activestate.com/ActivePerl/docs/Perl-Win32/perlwin32faq4.html#How_do_I_send_email_from_Perl_fo 

There is a CPAN module called Net::SMTP for sending mail with NT. This is from the documnetation...

use Net::SMTP;

$smtp = Net::SMTP->new('here.com'); # connect to SMTP server
$smtp->mail( 'user@here.com' ); # use sender's address here
$smtp->to('user@there.com');    # recipient's address
$smtp->data();                  # Start the mail

# Send the header.
$smtp->datasend("To: user@there.com\n");
$smtp->datasend("From: user@here.com\n");
$smtp->datasend("\n");

# Send the body.
$smtp->datasend("Hello, World!\n");
$smtp->dataend();       # Finish sending the mail
$smtp->quit;            # Close the SMTP connection

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.