搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

MAPI attach is not working with the new update

  • 2 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 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.
附加的畫面擷圖

所有回覆 (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.