Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Handy CDONTS Reference Table

July 31, 2000

Attribute Syntax Example Description
objCDO.To objCDO.To = "corinth@enfused.com" The "To" field of the email.
objCDO.To objCDO.To = "corinth@enfused.com" The "To" field of the email.
objCDO.From objCDO.From = "mailaddy@domain.com" The "From" field of the email.
objCDO.CC objCDO.CC = "mail@foo.com" The "CC" or Carbon Copy field of the email.
objCDO.BCC objCDO.BCC = "hiddenrecipient@foo.com" The "BCC" or Blind Carbon Copy field of the email. (The recipient can't see the value of this field).
objCDO.Subject objCDO.Subject = "My Email to You" The Subject of the email.
objCDO.Body objCDO.Body = "I am the actual message" The actual email message or "body." It can be any string.
objCDO.BodyFormat objCDO.BodyFormat = {1|0} Using BodyFormat = 1 will send your message as plain text. Using 0 will send it in HTML.
objCDO.MailFormat objCDO.MailFormat = {1|0} Using MailFormat = 1 will send your message as plain text. Using 0 will send in MIME format - which basically supplements the BodyFormat attribute set.
objCDO.AttachURL objCDO.AttachURL "D:\IMAGES\TEST.GIF" , "TEST.GIF" MsgBody = "<img src=TEST.GIF>" Attaches an image with your email. To insert inline, you must use HTML as your BodyFormat.
objCDO.AttachFile objCDO.AttachFile ("D:\ATTACHMENTS\MyFile.xls") Attaches the specified file to your email.
objCDO.Send objCDO.Send Adding .Send to the object name will tell the server to send the email.

Working with CDONTS
Using ASP for Form Handling
Putting It All Together and Wrapping Up


Up to => Home / Authoring / ASP / FormHandling




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers