• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CDO Mail Automation

 
Rudy Simon Yeung
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64994
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As we don't have a forum dedicated to ASP, moved to the General Computing forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic