Exchange Server Generating ATT00001.bin Along with Original Attachment

We have a Java programme that sends email with .xls (Excel) attachment on daily basis. It works absolutely fine other than generating ATT00001.bin file as attachment along with Excel file. This BIN file is of same size as Excel attachment. BIN file can be opened with MS Excel and it has exactly same data as the Excel file does. After a lot of Googling I found that such problem arises because of attachment appearing first in the code. I have checked the code and body part comes first and attachment later. I Googled the problem but couldn't find solution as all the results are related to certain part of email turning into attachment(s). In my case email body is as it should be while attachment is duplicated but with different extension.
Najam SahibzadaAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

JAGDIS SCEOCommented:
Hello

This a  bug in exchange server 2010 .You can have a work around  for this simple drop the attachment att0000.bin attachments using a exchange server rules.Just run this command from exchange server

From the Exchange Shell, paste the following command:
New-TransportRule -Name 'Block All att00.bin Attachments' -Priority '0' -Enabled $true -AttachmentNameMatchesPatterns ' att*.bin' -DeleteMessage $true

Regards
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Outlook

From novice to tech pro — start learning today.