Ask a Question related to Dreamweaver AppDev, Design and Development.
-
Mintyman #1
CDONTS AttachURL help needed!
Hi,
I have set up an automatic email system that send a message and an
attachemnt (pdf) to a user. It works in that the user receives the email but
the attachment arrives in a '.dat' format instead of '.pdf'. Here is my
code:
<%
Set mail = Server.CreateObject("CDONTS.NewMail")
mail.AttachURL "C:\inetpub\wwwroot\logiweb\dealer\MSDS\0CON\196.p df",
"test.pdf"
mail.From = MSDS_request@domain
mail.To = Trim(Request.QueryString("Email"))
mail.subject ="MSDS Document downloaded"
mail.body = "<table width=""600"" border=""0"" cellspacing=""0""
cellpadding=""0"">" & "<tr>" & "<font face=Arial size=2>" & "Thank you for
requesting a " & (MSDS.Fields.Item("description").Value) & " MSDS
information sheet from us." & "</font>" & "</tr>" & "</table>"
mail.MailFormat = 0
mail.BodyFormat = 0
mail.Body = HTML
mail.Send
Set mail = nothing
%>
The recipient receives an email with an attachment titled 'ATT272276.dat'
Every time I send it, the name of the attachment changes. How can I get it
to send it as a pdf?
Thanks
Mintyman Guest
-
CDONTS HELP
okay i ahev my cdonts working properly, and it emails to me no problem. but now i had to add checkboxs to my form and im not quite sure how to send... -
HELP ASP/CDONTS
Hi All! I have been trying to use ASP to send E-mail from a web page using CDONTS; I tried first to run the asp file in my computer (I am running... -
CDONTS vs CDO
OK, so obviously cdonts doesnt work with ii6. Why its depreciated, i dont know. What i need to know is how to just send a simple email, my old... -
using CDONTS on XP iis 5.1
Hi Folks. Trying to use ASP to submit data to both an access database and to an e-mail address at the same time. After downloading the example... -
CDONTS for IIS 5.1
Hi all, I'm trying to get a better understanding of how to use CDONTS on a web server, and I find that I don't have it installed on my own. I'm...



Reply With Quote

