CDONTS attachment to external image

Discussion in 'ASP General' started by Dave Karmens, Feb 25, 2004.

  1. Dave Karmens

    Dave Karmens Guest

    <%

    Set theMail = server.CreateObject("CDONTS.NewMail")
    theMail.From = "user -at- domain -dot- com"
    theMail.To = "user -at- domain -dot- com"
    theMail.Subject = "Requested Form"
    theMail.AttachFile
    ("http://www.microsoft.com/library/toolbar/3.0/images/banners/ms_masthead_ltr.gif")
    theMail.Body = "My email body"
    theMail.Send
    Set theMail = nothing

    %>

    That doesn't work :) Is that even possible?
     
    Dave Karmens, Feb 25, 2004
    #1
    1. Advertising

  2. Dave Karmens

    Dave Karmens Guest

    forget it. i used cdo instead

    Dave Karmens wrote:

    > <%
    >
    > Set theMail = server.CreateObject("CDONTS.NewMail")
    > theMail.From = "user -at- domain -dot- com"
    > theMail.To = "user -at- domain -dot- com"
    > theMail.Subject = "Requested Form"
    > theMail.AttachFile
    > ("http://www.microsoft.com/library/toolbar/3.0/images/banners/ms_masthead_ltr.gif")
    >
    > theMail.Body = "My email body"
    > theMail.Send
    > Set theMail = nothing
    >
    > %>
    >
    > That doesn't work :) Is that even possible?
     
    Dave Karmens, Feb 25, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ryan McLean

    asp CDONTS attachment not being sent correctly

    Ryan McLean, Jul 16, 2003, in forum: ASP General
    Replies:
    2
    Views:
    121
    Ryan McLean
    Jul 17, 2003
  2. Kyle Pula

    CDONTS - PDF Attachment / decoding problem

    Kyle Pula, Jul 25, 2003, in forum: ASP General
    Replies:
    2
    Views:
    160
    Kyle Pula
    Jul 28, 2003
  3. Jammer
    Replies:
    2
    Views:
    238
    Jeff Cochran
    Oct 17, 2004
  4. mrique
    Replies:
    1
    Views:
    199
    Egbert Nierop \(MVP for IIS\)
    Feb 23, 2005
  5. Serge
    Replies:
    0
    Views:
    126
    Serge
    Mar 23, 2005
Loading...

Share This Page