I have been tasked with programmatically creating a report and emailing it as an attachment every weekday. This was done fairly easily with a minor hiccup that has yet to be unravelled. The intended recipient, another company, is receiving the email but not the attachment. The attachment delivers fine internally. It delivers fine to third party email services such as Gmail and AOL mail (don't laugh). But, no matter what I try, it will not deliver to the intended recipient.
The automated script is written in Python 3.2 and uses our local Exchange 2007 server as an SMTP server. The message is being created with pythons "email" library and should conform to MIME standards (using MIME types in Python). The recipient has an Exchange 2003 server and both of us have Barracuda spam filters. The attachment does not seem to be being stripped from our spam filter, and the IT contact I have with the other company does not see it arrive at theirs. What could possibly be going on?
P.S. I have been unable to locate a duplicate problem through research, some similar but none quite the same.