Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: CDONTS - Attachements


Message #1 by "SURESH KUMAR K BADIGA" <suresh@s...> on Fri, 16 Mar 2001 04:15:26
Hi all



If any one haveing working example of how to send mail attachements 

using ASP please tell send to me 



i had searched all places in the WEB but i didn't get 



please send to me suresh@s...



Thanks in advance 



-Suresh
Message #2 by "revon espiritu" <revon@a...> on Tue, 27 Mar 2001 03:47:22
here's the code:



set newMailObj = Server.CreateObject("CDONTS.NewMail")

newMailObj.From = "from@d..."

newMailObj.To = "to@d..."

newMailObj.Attachment "c:\MyDir\filename.doc"

newMailObj.Send



newMailObj = nothing



(Note: c:\MyDir\filename.doc is the directory where your file is found)



> Hi all

> 

> If any one haveing working example of how to send mail attachements 

> using ASP please tell send to me 

> 

> i had searched all places in the WEB but i didn't get 

> 

> please send to me suresh@s...

> 

> Thanks in advance 

> 


  Return to Index