Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   CDONTS attachment to external image (http://www.velocityreviews.com/forums/t793567-cdonts-attachment-to-external-image.html)

Dave Karmens 02-25-2004 08:57 PM

CDONTS attachment to external image
 
<%

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 02-25-2004 10:46 PM

Re: CDONTS attachment to external image
 
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?



All times are GMT. The time now is 02:58 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.