I am using the following code to attach an excel file to email.. but a funny thing happens, the excel file comes in with no data, and the uploaded file does have data...
Set objMail = CreateObject("CDONTS.NewMail")
objMail.From = "sales@???.com"
Objmail.BodyFormat = 0
ObjMail.MailFormat = 0
objMail.To = email
objMail.Subject = "File attached"
objMail.AttachFile Server.MapPath("/download/file.xls")
objMail.Body= mbody
objMail.Send
'response.write("Mail send")
Set objMail = Nothing
-- This message may have been cut off and the rest will only be shown to members. To become a member, click here --