Gossamer Forum
Home : General : Perl Programming :

Sending mail on dedicated server with IIS

Quote Reply
Sending mail on dedicated server with IIS
I am trying to get a script to send mail on a dedicated NT box. Sendmail is not installed and neither is a specfic smtp server. NT being a total unknown to me, I don't know how to invoke the mail routine that is built into IIS.

Here is the part of the code that needs to be configured.
Code:
# USE EITHER SMTP OR SEND_MAIL DEPENDING ON YOUR SYSTEM-
# BUT NOT BOTH!

$SMTP_SERVER="bigfishwww0.rwc.cerf.net";
#$SEND_MAIL="/usr/lib/sendmail -t";

How can I change $SMTP_SERVER to make this work? I have already tried "localhost".

------------------
Will
Webmaster
FishHoo! Search index for Fishermen
www.fishhoo.com
Quote Reply
Re: Sending mail on dedicated server with IIS In reply to
 
Quote:
Sendmail is not installed and neither is a specfic smtp server

Uh, then how exactly to you plan on actually sending mail?

You need to install a mail client like Blat (which works alot like sendmail), or setup an SMTP server on the box.

--mark
Quote Reply
Re: Sending mail on dedicated server with IIS In reply to
There is a mail routine built into IIS called CDONTS that can be invoked with asp code. I just don't know how to do it from within the script.

------------------
Will
Webmaster
FishHoo! Search index for Fishermen
www.fishhoo.com
Quote Reply
Re: Sending mail on dedicated server with IIS In reply to
Your best bet is to SMTP or Sockets to send mail via IIS on NT. The ASP option mentioned is clunky.

Regards.

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------