File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes General Computing and the fly likes CDO Mail Automation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » General Computing
Bookmark "CDO Mail Automation" Watch "CDO Mail Automation" New topic

CDO Mail Automation

Rudy Simon Yeung

Joined: Jun 06, 2003
Posts: 15
I have the following code snippet in my asp in the apache server. After posting it, I never get any automated reply mail though my browser can display the asp file without any problem. Is that related to the missing SMTP server definition? If so, what SMTP server should I use? Should I use the one in the Apache server for the web hosting?

Any help is appreciated.

Set MyCDOMail = CreateObject("CDO.Message")

MyCDOMail.To= ";;"
MyCDOMail.From= ""
MyCDOMail.Cc= =""
MyCDOMail.Subject="Steveston Sport Kite Preregistration"
MyCDOMail.TextBody= "I want to fly my kite"
set MyCDOMail=nothing
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

ASP is a Microsoft technology, it has nothing to do with Apache HTTP Server. If you wan't to use ASP, you will need to use IIS as your web server.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

As we don't have a forum dedicated to ASP, moved to the General Computing forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: CDO Mail Automation
It's not a secret anymore!