Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

MAPI attach is not working with the new update

  • 2 majibu
  • 1 ana tatizo hili
  • 3 views
  • Last reply by RichG123

more options

This is a new app which uses MAPI to add an email to address, a subject some text t the body and a pdf attachment. When I put the app together I tested it on Thunderbird ver 38.5.0 and it worked great. The MAPI controls added the info to a T'Bird email and then displayed it for verification and or additions. When I clicked send it successfully sent the email with the attachment. I then updated to ver 52.something and the problem started. The attachment is: path = "c:\program files\PritShopManager\Export\" the files name is "Qt-010004.pdf". When I click send I get a error: Unable to open the tempory file c:\Users\User\AppDate\Local\Temp\moz_mapi\Qt-010004.pdf. Check your 'Temporary Directory' setting. When I got to c:\Users\User\AppDate\Local\Temp\moz_mapi\Qt-010004.pdf, Qt-010004.pdf is not a file but it's a directory. The Qt-010004.pdf directory is empty. After trying several times, I get directories Qt-010004.pdf, Qt-010004-1.pdf, Qt-010004-2.pdf, Qt-010004-3.pdf, Qt-010004-4.pdf, etc. The MAPI connection worked before the update but not after.

This is a new app which uses MAPI to add an email to address, a subject some text t the body and a pdf attachment. When I put the app together I tested it on Thunderbird ver 38.5.0 and it worked great. The MAPI controls added the info to a T'Bird email and then displayed it for verification and or additions. When I clicked send it successfully sent the email with the attachment. I then updated to ver 52.something and the problem started. The attachment is: path = "c:\program files\PritShopManager\Export\" the files name is "Qt-010004.pdf". When I click send I get a error: Unable to open the tempory file c:\Users\User\AppDate\Local\Temp\moz_mapi\Qt-010004.pdf. Check your 'Temporary Directory' setting. When I got to c:\Users\User\AppDate\Local\Temp\moz_mapi\Qt-010004.pdf, Qt-010004.pdf is not a file but it's a directory. The Qt-010004.pdf directory is empty. After trying several times, I get directories Qt-010004.pdf, Qt-010004-1.pdf, Qt-010004-2.pdf, Qt-010004-3.pdf, Qt-010004-4.pdf, etc. The MAPI connection worked before the update but not after.
Attached screenshots

All Replies (2)

more options

MAPI goes through fits of issues in some releases. You might try the beta at http://www.mozilla.org/en-US/thunderbird/channel/ but I'm not sure anything is fixed there. And there is an unlanded patch at https://bugzilla.mozilla.org/show_bug.cgi?id=1048658

more options

Thanks Wayne, I think i'm going to look for a way to remove Thunderbird to a point "as if it was never here" and start over.