為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Direct sending of email in plain text for SMS gateway

more options

I used MS Access VBA command docmd.sendobject to send SMS type to SMS gateway. If I use the option "view mail", so that the mail window opens, the mail is sent as "plain text" as needed. However if I set to "view mail" disabled, basically the mail is passed through, and is sent as HTML and therefore rejected. In Thunderbird I have both types of mail in my email sent box. I have set in the Thunderbird general Options already everything to plein text and even indicated the "sms.at" as domain for plein text. Question is: As it does not work, what do I have to set, that all mails (also mails generated with a command from external source) and not opened with "View Window" are sent as PLAIN TEXT? Thany you in advance for your help

I used MS Access VBA command docmd.sendobject to send SMS type to SMS gateway. If I use the option "view mail", so that the mail window opens, the mail is sent as "plain text" as needed. However if I set to "view mail" disabled, basically the mail is passed through, and is sent as HTML and therefore rejected. In Thunderbird I have both types of mail in my email sent box. I have set in the Thunderbird general Options already everything to plein text and even indicated the "sms.at" as domain for plein text. Question is: As it does not work, what do I have to set, that all mails (also mails generated with a command from external source) and not opened with "View Window" are sent as PLAIN TEXT? Thany you in advance for your help

被選擇的解決方法

You specify acFormatRTF, which is formatted mail. If you want to send plain text, you prolly have to use acFormatTXT

從原來的回覆中察看解決方案 👍 0

所有回覆 (6)

more options

Are you sure that you are using Thunderbird to send the e-mail message?

Please explain how you managed to get Thunderbird to send an e-mail message without the Thunderbird compose window showing.

If Thunderbird is not being used to send the e-mail, then of course no settings in Thunderbird will apply.

more options

Dear Bruce

Thunderbird is the only mail-programm installed. Within Access I use the VBA command: DoCmd.SendObject acSendNoObject, "", acFormatRTF, Email_Receivers_An, Email_Receivers_CC, Email_Receivers_BCC, EmailHeader, EmailMessage, ViewMail

If I set ViewMail to "True" than the Thunderbird Mailwindow opens; if false it it sent without opening the window, and this is causing the problem. In fact I could get in contact with the SMS.at provider who told me that the mail send with ViewMail = "False" then issued in HTML Format, meanwhile mails sent wit ViewMail=True are propery issued in plain text. I've checked all options in Thunderbird to set towards plaintext in general properties but still the problem persists. It would be great if you could give me a hint

thank you

Markus

more options

This is beyond me, so I will see if someone else can help you.

If it was me, I would just do the extra step of viewing the e-mail and clicking Send.

more options

This fix in 52.2 may resolve your problem:

"Messages sent via the Simple MAPI interface are forced to HTML"

https://www.mozilla.org/en-US/thunderbird/52.2.0/releasenotes/

more options

選擇的解決方法

You specify acFormatRTF, which is formatted mail. If you want to send plain text, you prolly have to use acFormatTXT

more options

Dear Bruche, Sfhowes, dear Onno Ekker Thank you for your support. In fact it was the Issue about the MAPI forced to HTML. As I updated to 52.2.0 evertything worked fine again.

Thank you a lot for your support

Markus