aspose file tools*
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
Author

CDO Mail Automation

Rudy Simon Yeung
Greenhorn

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.

Rudy
===============================================
Set MyCDOMail = CreateObject("CDO.Message")

MyCDOMail.To= "pres@bcka.bc.ca;vp@bcka.bc.ca;rudyyeung@shaw.ca"
MyCDOMail.From= "webmaster@bcka.bc.ca"
MyCDOMail.Cc= ="rudyyeung@shaw.ca"
MyCDOMail.Bcc="rudyyeung@shaw.ca"
MyCDOMail.Subject="Steveston Sport Kite Preregistration"
MyCDOMail.TextBody= "I want to fly my kite"
MyCDOMail.Send
set MyCDOMail=nothing
Paul Sturrock
Bartender

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
Marshal

Joined: Jan 10, 2002
Posts: 61193
    
  66

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CDO Mail Automation