Collaborative Data Objects


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Collaborative Data Objects

  1. #1
    cmoore Guest

    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

  2. #2
    Betty Buhr Guest

    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.

  3. #3
    Harish Kumar Guest

    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


  4. #4
    Diana L Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center