Solved

how to send out email using CGI script in windows2k

Posted on 2002-07-19
11
187 Views
Last Modified: 2010-04-13
I know there is a program in Unix/Linux called sendmail (usually located in /usr/bin/sendmail) It can be used by CGI script to send out email.

what is the sendmail program in windows 2000 pro? Or something simular to that?


Thanks
0
Comment
Question by:leekf
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
11 Comments
 
LVL 6

Expert Comment

by:st_steve
ID: 7166464
The "built-in" "sendmail" program in Win2k would be "M$ Outlook Express". You must set up the user accounts (as with any other email clients, sendmail, qmail, netscape) then just make sure you got it registered as default mail handler (Tools --> Options --> General)

Now everytime you want to send mail, OE will be used. Eg: when you click on a "mailto:" link on a web page, or you can programmatically call it (eg: ShellExecuteEx in VB API) and OE will launch a "compose" window.

I'm sure you want to use scripting to send emails from Win2k. You might have to do this programmatically, since it's graphical based and you need to "click" on things. In VB, you can use "SendKeys" to "click" on buttons (that are not your applications.

0
 
LVL 2

Author Comment

by:leekf
ID: 7166476
I think outlook express is too different from the sendmail program in unix. And I don't know how to program VB API.

Are there any 3rd party sendmail program for win2k similar to that for unix?
0
 
LVL 6

Expert Comment

by:st_steve
ID: 7166494
Everything in Windows is graphical. Everything in UNIX is command-line based.

Commands in Windows are scaled down versions of graphical counterparts, can't do much with them, If you want full functionality, you need to use the GUI.

GUI in UNIX interfaces with command line. Almost everything in GUI calls commandline counterparts.

Not sure if this will help:

http://www.verio.fr/support/windowsnt/nt_mps_Sendmail.html

Better that the "translation" at:

http://babelfish.altavista.com/translate.dyn

:)
0
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 6

Expert Comment

by:st_steve
ID: 7166496
Oops! My brain and my fingers don't work together! I meant:

"Better get that translation at:"

0
 
LVL 6

Expert Comment

by:st_steve
ID: 7166505
0
 
LVL 6

Expert Comment

by:st_steve
ID: 7166509
0
 
LVL 6

Expert Comment

by:st_steve
ID: 7166513
Says IIS4 though, but might work on IIS5 too.

Anyway, let me know. Going to catch some ZZZZzzzz now
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7166856
Outlook Express is really not what you are looking for if you want an alternative to Linux's Sendmail. I assume you are writing web pages that use submit buttons etc. to send mail to selected recipients througha web interface.

I believe that the PERL suggestion would be your best bet.

0
 
LVL 9

Expert Comment

by:MrBillisMe
ID: 7167050
Here's the original

http://WWW.sendmail.com
0
 
LVL 7

Expert Comment

by:jmiller47
ID: 7167097
Actually, this is a company called Sendmail. The actual Unix application GNU licensed software called sendmail is located at this address:
http://www.sendmail.org/

It also appears that it is only avaialble for *NIX systems, not NT/2000/IIS...
0
 
LVL 7

Accepted Solution

by:
jmiller47 earned 50 total points
ID: 7167117
This site may be of some help. It was deigned specifically for people who are going through the same problem as you.

http://www.ntsendmail.com/

I hope this helps!
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question