Hi

Recently we moved from win 2000 to win 2003 server.
At win 2000 IIS web server, I was using following asp code to attach a document with email

Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From = “xyz@abc.com”
objMail.To = “xyz123@abc.com”
objMail.Subject = “Test email”
objMail.Body = “Test Email body text”
objMail.AttachFile “d:\temp\A01BC.Doc”,”Test.doc”,1
objMail.Send

Now at Win 2003 Server I am using following code

Set objMail = Server.CreateObject("CDO.Message ")
objMail.From = “xyz@abc.com”
objMail.To = “xyz123@abc.com”
objMail.Subject = “Test email”
objMail. TextBody= “Test Email body text”
objMail.AddAttachment “d:\temp\A01BC.Doc”
objMail.Send

ISSUE:
Here, I am not sure how to give Placeholder name to the attached document. Same as I was able to provide in CDONTS.NewMail

Documents are stored with some unique system name and are mapped to docs actual name in database.
While attaching the document in email I want to attach it with its actual name.

Please help!!!
Thanks