|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
VBScript - Email - Gobbledegooks
I've worked out how to attach a file from the server but when it attaches it sends complete gobbledegooks.
It's like the attachment becomes part of the email, looks like the raw code that makes up the file that should have been attached. Here's the sort of code I was using: MyCDONTSMail3.AttachFile Server.MapPath("/somedirectory/"&filename) Any ideas? Thank you, Jk |
|
#2
|
|||
|
|||
|
CDONTS is an older email component and CDOSYS is the new email component. If you have CDOSYS available, I'd just use that.
If it's available, see here for how to send and email with attachment: Send email with attachment using CDOSYS Otherwise, see here: Send email with attachment using CDONTS
__________________
jmurrayhead Did I help you out? Make me popular by clicking the icon!New Members:Proper way to post a question .Net Help |
![]() |
| Viewing: ASP Free Forums > Programming > ASP Development > VBScript - Email - Gobbledegooks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|