Solved

how to send out email using CGI script in windows2k

Posted on 2002-07-19
11
186 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
Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Changing MS Windows 2003 Server product key 6 328
Remote Access to a Windows 2000 Computer 2 514
Win 2000 Pro - RDP Connection 2008 R2 Terminal Service 4 543
Windows 16 356
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…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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