Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

(sendmail) Re: Win32::Daemon and Outlook

by mwp (Hermit)
on Nov 24, 2000 at 03:10 UTC ( #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.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://43176]
[SwaJime]: Ran into an interesting piece of code today ...
[SwaJime]: select name,status, status2 from __ where status & status < 13 and status2 & 16 <> 16
[SwaJime]: I'm thinking that looks messed up. Sorry for OT ... but I know y'all are smart :-)
[SwaJime]: I expected items to not be selected if status was 0 ... but they were selected
[SwaJime]: any thoughts?

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2017-08-22 17:59 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (338 votes). Check out past polls.