[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 432
  • Last Modified:

Using mapisend to send a message in plain text


I use mapisend frequently to send automated e-mails from command lines.  I now have a situation where I need to ensure the message (and attachment) are sent in plain text, not rich text.

The attachment is a simple ASCII datafile created by a third party application, so it is not save in rich text to being with.  However, when I send the file using mapisend, something is changing it into thinking it is rich text.

I thought perhpas there is an undocument switch in mapisend, or maybe a way to default the recipient to always get plain text.  I thought the latter might be possible through Outlook (using Outlook 2000), but haven't been able to find a way of doing this.  

I also tried a vbscript using CDONTS, but couldn't get it to work as CDONTS is no longer supported on Win 2003 (yes, I did install the dll and register it, but still getting a "path not recoginzied" error).

Finally, I tried using a vbscript using the new CDO.Message object, but could not get it to send outside the organization.  Sending to an internal address works fine, but sending to an external recipient bouces the message back.

Any suggestions would be appreciated!
1 Solution
I don't know about the mapisend thing (although it might be worth checking the properties of your default Internet Message Format in ESM.  Look at the Message Format tab), but you may need to tell your server to allow relaying from the sending IP when you use CDO.Message .

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now