-
Collaborative Data Objects
Hi all,
Can anyone tell me where I can find some code on sending emails from an ASP
using CDO. The basic HTML "mailto" link isn't working for me. the subject
won't go into the subject line
Thanks
colin
-
Re: Collaborative Data Objects
On 12 Jun 2001 06:17:10 -0700, "cmoore" <mooreco@mar.dfo-mpo.gc.ca>
wrote:
>
>Hi all,
>
>Can anyone tell me where I can find some code on sending emails from an ASP
>using CDO. The basic HTML "mailto" link isn't working for me. the subject
>won't go into the subject line
>
>Thanks
>
>colin
Microsoft has several articles on using CDONTS (CDO for NT server).
Just search microsoft.com for CDONTS.
-
Re: Collaborative Data Objects
Hv given a sample code for CDO below -
Dim objCDO
Set objCDO = Server.CreateObject("CDONTS.NewMail")
objCDO.To = "Harish@ChildDuniya.Com"
objCDO.From = "Harish@xyz.com"
objCDO.cc = "Harish@xyz.com"
objCDO.Subject = "Hi"
objCDO.Body = "Require your advice!"
objCDO.Send
The above code snippet is a simple example of CDO. However, there are some
more cool features like specifying importance, attaching files etc.
For specifying the importance
-------------------------------
objCDO.Importance = 2 'High importance!
For attachments
---------------------
objCDO.AttachFile "\\mhk\harish.doc","harish.doc"
Harish
-
Re: Collaborative Data Objects
Hello,
Before going into too much details using CDO/CDONT
check if those will work for you:
<a href="mailto:some@some.com?subject=Important info&body=See the
site for details">L</a>
<form method=post action="mailto:some@some.com?subject=Important info&body=See
the site for details">
<input type="submit">
</form>
Hope this helps.
D.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks