Forums

ASP

This topic is locked

Send attachment with CDO mail

Posted 10 Oct 2002 09:43:29
1
has voted
10 Oct 2002 09:43:29 agoes Setiawan posted:
I've try to write a code to send attachment with CDO mail and SA-File Up uploader. But there is no results. There is a sample code from Charon Site, but not with SA-FileUp.

Please help ...
Thank you

Replies

Replied 11 Oct 2002 12:50:06
11 Oct 2002 12:50:06 bil sebastian replied:
Ciao guarde se Ti puo essere utile!

<%
Set objMail = Server.CreateObject("CDONTS.NewMail"
objMail.From=" "
objMail.To=" "
objMail.Subject="Prove Posta"
objMail.Body="La mia prima mail con CDO"
objMail.importance=0
objMail.Send
Set objMail = nothing
%>

>%

Set objMail = Server.CreateObject("CDONTS.NewMail"
objMail.attachFile("\\mio_computer\testo\file.txt","test.txt"
objMail.Send " "," ","Prove Posta", "La mia prima mail con CDO",0
Set objMail = nothing
<%

Reply to this topic