Author |
|
jcharbo Newbie
Joined: 31 January 2012 Location: United States
Online Status: Offline Posts: 5
|
Posted: 31 January 2012 at 1:04pm | IP Logged
|
|
|
Hi, I'm using WPF with .net IMAP to retrieve messages from various sources. Things work correctly when retrieving mail from gmail. When retrieving mail from my default mail server provided through hostgator (when you host a site they provide mail through parallel plesk panel) attachments are not handled properly.
Specifically, attachments have the following issue:
When I loop through each part as imapbodystructure in envelopecollection(0).bodystructure.subparts, the part for the jpeg attachment is as follows:
contenttype=image/jpeg
filename=nothing
partid=3
size=675502
the bodyparams are: name="correct attachment name" and filename="correct attachment name"
My question is why is the filename empty but the contents of the bodyparams have the correct filename?
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 01 February 2012 at 11:08am | IP Logged
|
|
|
Are you on the latest version of MailBee.NET Objects?
Regards,
Alex
|
Back to Top |
|
|
jcharbo Newbie
Joined: 31 January 2012 Location: United States
Online Status: Offline Posts: 5
|
Posted: 12 March 2012 at 8:52am | IP Logged
|
|
|
yes, this is ocurring with the latest version 7 build.
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 12 March 2012 at 9:16am | IP Logged
|
|
|
Make sure you're indeed on the latest build. It's available at http://www.afterlogic.com/updates/mailbee_net_2.zip
If the problem persists, please also let us know what you get with
Code:
Console.WriteLine(MailBee.Global.Version) |
|
|
Regards,
Alex
|
Back to Top |
|
|
jcharbo Newbie
Joined: 31 January 2012 Location: United States
Online Status: Offline Posts: 5
|
Posted: 12 March 2012 at 10:38am | IP Logged
|
|
|
The return from your code is 7.1.4.348.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 13 March 2012 at 12:28am | IP Logged
|
|
|
Well the latest build is .357. If you require DLL built for .NET Framework 4 you can get it here.
Please let us know if the problem occurs after updating the DLL. Thanks.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
jcharbo Newbie
Joined: 31 January 2012 Location: United States
Online Status: Offline Posts: 5
|
Posted: 22 March 2012 at 12:39pm | IP Logged
|
|
|
It is still occurring even with the 357 framework 4 dll. Please advise.
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 23 March 2012 at 1:00am | IP Logged
|
|
|
Can you please enable logging and provide us with the logs so that we could see what's going on behind the scenes? Ideally, we would need a test account login details, that would allow us to replicate the issue.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
jcharbo Newbie
Joined: 31 January 2012 Location: United States
Online Status: Offline Posts: 5
|
Posted: 26 March 2012 at 6:54am | IP Logged
|
|
|
I have posted all of the account info to test this with in a "contact us" submission on your site rather than post the details publicly.
Thanks
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 26 March 2012 at 6:57am | IP Logged
|
|
|
Well HelpDesk is not a public resource, but yes, contact form works fine too. Will check this and let you know.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 26 March 2012 at 8:32am | IP Logged
|
|
|
Seems the server does not put filename information where it should but using ImapBodyStructure.SafeFilename property lets the application easily work around the problem.
Regards,
Alex
|
Back to Top |
|
|