Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_cdo thread: File Attachement Probs while sending file via smtp server.


Message #1 by "suresh kumar" <pms_kumar@h...> on Fri, 06 Sep 2002 07:44:09 +0000
email_file_url="D:\helpdesk\fileupload\birla\12\0file1.txt1"
		objCDOMail.From = "pms_kumar@h..."
		objCDOMail.To = user_customer
		objCDOMail.Subject = callstatus
		objCDOMail.BodyFormat = 0
		objCDOMail.MailFormat = 0
		objCDOMail.Body = strbody
		objCDOMail.Importance = 1
		objCDOMail.AttachFile email_file_url,"Test",1
	         objCDOMail.Send
		Set objCDOMail = Nothing


in this coding as above while i am attaching the file from the following 
location it spit some error as below


POST Data:
error '80020009'
Exception occurred.

/iisHelp/common/500-100.asp, line 192

and another error line is in below text

		objCDOMail.AttachFile email_file_url,"Test",1
Please give solution.
Regards
Suresh



_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


  Return to Index