搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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