Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > CDONTS attachment to external image

Reply
Thread Tools

CDONTS attachment to external image

 
 
Dave Karmens
Guest
Posts: n/a
 
      02-25-2004
<%

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?
 
Reply With Quote
 
 
 
 
Dave Karmens
Guest
Posts: n/a
 
      02-25-2004
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?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cdonts Attachment From Memory, not from file Serge ASP General 0 03-23-2005 03:12 PM
cdonts embedded image not displayed in lotus mrique ASP General 1 02-23-2005 05:38 PM
How do I use CDONTS.new to send an email with attachment? Jammer ASP General 2 10-17-2004 06:02 PM
CDONTS - PDF Attachment / decoding problem Kyle Pula ASP General 2 07-28-2003 06:41 PM
asp CDONTS attachment not being sent correctly Ryan McLean ASP General 2 07-17-2003 07:01 PM



Advertisments