Search The ForumSearch   RegisterRegister  LoginLogin

MailBee Objects

 AfterLogic Forum : MailBee Objects
Subject Topic: extension not included Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
giyu
Newbie
Newbie


Joined: 28 July 2009
Location: Japan
Online Status: Offline
Posts: 2
Posted: 28 July 2009 at 8:35pm | IP Logged Quote giyu

Mostly, the filename is specified for the inline image.

----- example
Content-Type: image/jpeg; name="hogehoge.jpg"
Content-Transfer-Encoding: base64
Content-ID: <part1.00040706.07080409@sample>
-----
>> Save file name "hogehoge.jpg"


however, When the file name preserves a unspecified inline-image, the
extension is not included. (GetBodyWithEmbeddedObjectsEx)

----- example
Content-Type: image/jpeg
Content-Transfer-Encoding: base64
Content-ID: <part1.00040706.07080409@sample>
-----
>> Save file name "1"


GetBodyWithEmbeddedObjectsEx have the method of adding the extension by the
automatic operation?

>> Save file name "1.jpg"
Back to Top View giyu's Profile Search for other posts by giyu
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 29 July 2009 at 2:06am | IP Logged Quote Igor

Quote:
GetBodyWithEmbeddedObjectsEx have the method of adding the extension by the
automatic operation?


MailBee Objects do not support this, it's developer's responsibility area to check content-type of the file in question and specify file name and extension if this information is not available in message itself. For instance, you can rename the file and alter any references to this file in resulting HTML document.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
giyu
Newbie
Newbie


Joined: 28 July 2009
Location: Japan
Online Status: Offline
Posts: 2
Posted: 29 July 2009 at 2:00pm | IP Logged Quote giyu

Okay. thanks!
Back to Top View giyu's Profile Search for other posts by giyu
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide