Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

(sendmail) Re: Win32::Daemon and Outlook

by mwp (Hermit)
on Nov 24, 2000 at 03:10 UTC ( [id://43176] : note . print w/replies, xml ) Need Help??

in reply to Win32::Daemon and Outlook

This may not be an option, but I recommend using the sendmail MTA as an alternative to mucking about with Outlook and OLE. Now you may say to me, "Sendmail? Isn't that a Unix thing?" and I'd say "Yes, but" there is a sendmail binary included in the NT Resource Kit that you can use! Convenient, no?

Try this:

# I forget the exact path to sendmail in NT. # -t tells sendmail to scan the message for To:, From:, etc. $sendmail = 'c:\bin\sendmail.exe -t'; open(MAIL, ">$sendmail") || die 'Could not load sendmail!'; print MAIL <<EOF To: From: Subject: 2GB Warning on File Server Your fileserver has less than 2GB of free disk space. EOF close(MAIL);
Don't forget the extra break after the Subject line.

Hope this helps!

Friar 'kaboo
avoiding NT problems with archaic Unix solutions since 1996 {g}

Replies are listed 'Best First'.
Re: (sendmail) Re: Win32::Daemon and Outlook
by BatGnat (Scribe) on Nov 28, 2000 at 02:10 UTC
    Unfortunatly my Exchanges SMTP is disabled, (GE security Policy). And even if it was, there is a current project to outsource email for the region. I have no idea whether they will have SMTP, but until i find out, I am stuck.
    It does have an IMAP port open, does anyone have any modules for that??? I did a quick search and found none.