Forum Moderators: coopster & phranque

Message Too Old, No Replies

How to substiture Sendmail in script for Windows 2000 host

[use constant MAILPROG =>]

         

beatelund

12:35 am on Jan 15, 2004 (gmt 0)

10+ Year Member



Am a complete beginner and have only used Perl once when I installed the free NMS TFmail on a Linux host and it works great. But now I need it on a Windows 2000 shared host, which doesn't have Sendmail and I don't understand how to use what support is e-mailing me.

This is the line in the script I need to change/complete:
[use constant MAILPROG =>=>'/usr/lib/sendmail -oi -f';]

My first question is if substituting Sendmail could work when the script is written for Sendmail?

If so:
This is what support mails me. (They presume I use Matt's Formmail regardless of what I write.) They also tell me they don't support external Perl scripts, which I quite understand, but I did want the path to their mail program (probably InerMail), how to call it and tried to find out what swithes it uses and if its compatible with Sendmail. I got this:

Path to mail program:
Windows B....H...(my type host)
[$mailprog = $mailprog;]

also:
Windows B...H...
Note: You must insert the From address in your HTML form, not the formmail.pl file.

Then when I try to find out more and if the platform support Perl forms at all they want me to use Perl with dot net and SMTP? That should be platform neutral.

I have tried several ways to get around it, but I don't know zilch and it shows.

Most grateful for help.
Inga

JasonD

1:44 pm on Jan 15, 2004 (gmt 0)

10+ Year Member



www.ntsendmail.com

A GPL'd perl script that replicates Sendmail functionality for your scripts but uses SMTP for sending the emails.

Another alternative is the Sendmail for Windows application by Indigostar

www.indigostar.com/sendmail.htm

beatelund

9:35 pm on Jan 15, 2004 (gmt 0)

10+ Year Member



Many thanks. I'll check them out.

Inga