Search The ForumSearch   RegisterRegister  LoginLogin

MailBee.NET POP3

 AfterLogic Forum : MailBee.NET POP3
Subject Topic: Dealing with base64 images embedded Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
sushanth
Newbie
Newbie


Joined: 12 December 2013
Online Status: Offline
Posts: 6
Posted: 23 December 2013 at 4:27am | IP Logged Quote sushanth

Dear

I have a requirement to read base64 encoded image.
Iam reading the inbox using the pop3 object and found that the image in the mail is base64 encoded, so by checking mailmessage.HasAttachment return false since the image is base64 encoded.

For mails in which the image is not base64 encoded iam able to save the image to a folder using mailmessage.GetHtmlAndSaveRelatedFiles() method.

But for the mails in which the image is base64 encoded there is no image found and the src for the image is in the following format.
<img src=3D"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgEBLAEsAAD/7QAsUGhvd=

so iam saving the message body as it is.

After saving the mail body iam able to show in my application(asp.net), but the real problem is that the same mail if am opening in outlook the image is not shown.

After searching in google i found that base64 encoded images are not possible to show in certain email clients such as gmail and outlook, but in thunderbird it is showing.

So what is an alternative to this? How can i save the base64 encoded image into a particular folder and later send the mail by setting the cid which iam currently doing so that the image shows perfectly in outlook 2010?

If the image is not base64 then every thing is working perfectly so that the images are shown perfectly in my outlook, but if it is base64 encoded then iamge not showing.

Please provide a solution for this

Thanks
Sushanth.B
Back to Top View sushanth's Profile Search for other posts by sushanth
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5874
Posted: 23 December 2013 at 5:09am | IP Logged Quote Igor

I believe this can be arranged in terms of custom development contract. Please contact us if you're interested.

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


Joined: 12 December 2013
Online Status: Offline
Posts: 6
Posted: 26 December 2013 at 11:22pm | IP Logged Quote sushanth


Please let me know the cost of custom development contract.

Thanks
Sushanth.B
Back to Top View sushanth's Profile Search for other posts by sushanth
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5874
Posted: 26 December 2013 at 11:23pm | IP Logged Quote Igor

According to the developers, the estimation on this is 15 hours, $60/hour.

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


Joined: 12 December 2013
Online Status: Offline
Posts: 6
Posted: 26 December 2013 at 11:59pm | IP Logged Quote sushanth

Dear Igor,

Thanks for the reply, let me share my thoughts here.

The component is supposed to have this as a built in functionality right? rather than moving to a custom development contract.

Since the image in the messages from some of the email clients is base64, mailbee pop3 message object doesn't treat it as an inline attachment, so there must be any other alternative inorder to save base64 images right? same as how mailbee pop3 component is dealing with the inline images using the mailmessage.GetHtmlAndSaveRelatedFiles() method.

I also tried the myMessage.Attachments.SaveAll("C:\\Docs", false) method but is of no use.

Please provide any other solution if exists?

Thanks
Sushanth
Back to Top View sushanth's Profile Search for other posts by sushanth
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 5874
Posted: 27 December 2013 at 12:09am | IP Logged Quote Igor

You can vote for the feature at http://afterlogic.uservoice.com/. If we see that the feature is indeed requested by many users (which doesn't seem to be the case for now), we'll consider implementing it in regular version of the product.

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

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