General discussion

Locked

PerlDesk Email

By sfix ·
I'm trying to set up Perldesk on an NT machine. I have everything working except the Email. I need to set up a mail program to pipe email through a perl script. Any idea what I should use (with ActivePerl) and how to configure it? I've tried Blat, Sendmail, NTSendmail - but my configurations may have been wrong on all of them.

This conversation is currently closed to new comments.

5 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

PerlDesk Email

by Joseph Moore In reply to PerlDesk Email

My company has a home-grown application that uses Perlscript (with ActivePerl), and we send e-mail using Blat. It does work fairly well, honestly.
Here is the Blat setup:
First, get a newer copy of Blat. One is here:

http://pages.infinit.net/che/blat/blat.html

Download the ZIP file from this page, and unZip it onto the system you want to send mail from. Next, setup Blat with the following command line:

Blat -install YOURMAILSERVER e-mailaddress@yourdomain.com

So, Blat needs a SMTPserver to send the mail. I originally though Blat had its own SMTP engine, but it does not. It is just a command-line mail client. So, if you run a SMTP server, just put the IP address for your server in the YOURMAILSERVER section.
After that, put in the e-mail address you want this install of Blat to use. So, if your SMTP mail server is 10.1.1.1 and you host the domain DOMAIN.COM, the Blat setup could be:

Blat -install 10.1.1.1 blatmail@DOMAIN.COM

You get the point.

Collapse -

PerlDesk Email

by sfix In reply to PerlDesk Email

Poster rated this answer

Collapse -

PerlDesk Email

by Joseph Moore In reply to PerlDesk Email

Now, how you call Blat is up to you. For my company, we have a Windows BAT file that calls the Perlscript, then the BAT file calls Blat and sends the mail. So, you can do it that way. I think it is easy writing a 1-line BAT file to do the Blat send,and just have the Perl script call this BAT file.

Hope this gives you a place to start.

Collapse -

PerlDesk Email

by sfix In reply to PerlDesk Email

Talking with the PerlDesk developer, it turns out that there isn't a mail program for the w32 platform that will pipe email to a PerlScript.

Collapse -

PerlDesk Email

by sfix In reply to PerlDesk Email

This question was closed by the author

Back to Linux Forum
5 total posts (Page 1 of 1)  

Related Discussions

Related Forums