Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

More CDONTS (CDunce . . ) attachFile probs . .

Status
Not open for further replies.

ChainsawJoe

Programmer
Dec 5, 2000
154
GB
In a previous post yesterday (thread333-210933 I stated my problem with CDONTS NewMail.AttachFile swapping with the .Body if I attached ONE file to an email. I'm fudged this by making attaching a second file necessary (luckily, it IS needed!). However, now I'm screwed with the filename param of .attachFile. What does it actually set?! Cos say I'm attaching a file whose actual name is say, login1244.htm and I want it to appear as login.htm, then I should do something like this, right;
Code:
oMail.attachFile "login1244.htm", "login.htm"
yeah?
that seems fine on the email I recieve, but when i attempt to save the attachment from the email recieved, it appears in the saveAs box as "login3.htm"! ?!

PLEEEEEEEEEEEEZ - any help?! I've scoured the MSDN CDONTS section and scoured the web, but no-one seems to know anything. Is this usual, or should I get my host to reinstall their CDO for NTS stuff?

muchos gracias,

Joe --------------------------------------------------
- better than toast.
Penguins - better than --------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top