Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

I took a client job not knowing they are running their own server with a tech who has very minimal idea what he's doing. It's a Windows server so naturally I am having problems getting ALL CGI scripts to work.

First question is, the guy said they use ASPEMAIL for their mailing module. The only experience I have is with Sendmail. Does anyone have experience using ASPEMAIL with CGI? It looks like it's a different language all together. Also, is Sendmail free and easy to install for the not-so-tech-savvy guy they have?

I only work on servers that are setup so this is all new to me.

Replies are listed 'Best First'.
Re: CGI with ASPEMAIL
by jdtoronto (Prior) on Apr 05, 2006 at 18:52 UTC
    We have a client with ASPEMAIL on their machine. Basically it sends email using an external SMTP server, so you can ignore it. In essence it is a COM version of the Perl email modules! It has a configuration applet that appears in the control panel and if I recall correctly it saves the server data in the registry. Although it is some time since I looked at the code I beleive we read the server info from the registry for our Perl programme.

    Just find out where the SMTP server is and use any of the Perl modules to send the email. In one large windows application we use Net::SMTP quite succesfully, but we have also used the MIME modules where we need to create MIME emails with equal success.

    jdtoronto

Re: CGI with ASPEMAIL
by blogical (Pilgrim) on Apr 05, 2006 at 17:06 UTC
    ASPEMAIL is a program for an ASP/VB/Windows environment. sendmail is a program developed for a BSD environment. Are you looking to use perl to manage/interact with ASPEMAIL? It's a bit vague (to me) what you are asking, and why you're asking it here. Perhaps these would be a good place to start:

    "One is enough. If you are acquainted with the principle, what do you care for the myriad instances and applications?"
    - Henry David Thoreau, Walden

      I'm just trying to see if people here have experience or sample codes using CGI with this to send an email. I was also hoping it would be possible (and easy) for the server guy to install Sendmail on their Windows 2003 server as that would make MY job easier.
Re: CGI with ASPEMAIL
by ikegami (Patriarch) on Apr 05, 2006 at 18:18 UTC
    MIME::Lite is a very useful module for sending mail, and it can talk directly to your SMTP server if you don't have sendmail. Search for "Change how messages are sent" in the linked document.