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!