|
|
|
|
|
| | |
|
Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Attachment broken (MAC users) |
From: |
Gib |
Date: |
8/12/2000 10:51:17 PM |
IP: |
210.9.51.6 |
Hi,
I have a problem with Mac platform which couldnt get the attachment sucessfully. I send the same file to a Mac user and CC to a windows user (NT).
The attachments appear in both users but for Mac, the attachment comes with empty page (Note: the attachments size is NOT 0) and Mac (outlook) refused to open the file. I dont have any problem at all for PC.
------------- Send Email -------------
Set objMail = CreateObject("CDONTS.Newmail")
objMail.From = "kobkan@hotmail.com"
objMail.To = "Kobkan.Sriboonsom@uts.edu.au"
objMail.Subject = "hello"
objMail.Body = Message
attachmentfile = absolute_path & "\Upload\" & session("upload_name")
objMail.AttachFile attachmentfile, session("upload_name"), cdoEncodingBase64
I also tried UUEncode with txt file
objMail.AttachFile attachmentfile, session("upload_name"), cdoEncodingUUEncode
objMail.MailFormat = cdoMailFormatMIME
objMail.BodyFormat = 0 cdoBodyFormatHTML
on error resume next
objMail.Send
-------------------------
Looking forward to hear your answer, thank you so much
Gib |
|
|

|
|
|
|
|
|
|
|
|
|