This project is a work-in-progress and is not ready at this stage
- Allow body to be specified from stdin
- Add C# / VB.NET classes
- Make release
Simple command line helper for MAPISendMailW
To provide a simple command line tool which can be easily integrated into .NET applications. Calling MAPI functions directly within .NET code is unsupported.
- Specify email body, subject, recipients, and attachments.
- Body may be specified as an argument or from standard input.
- Recipients may be To, Cc, or Bcc.
- Attachments also have wildcard support.
- .NET wrapper classes in C# and VB.NET for easy integration.
mailto.exe [--body TEXT] [--subject TEXT] [--to ADDR...] [--cc ADDR...] [--bcc ADDR...] [--attachment PATH...]
Code | Message |
---|---|
0 | Success |
1 | User cancelled |
> 1 | MAPI Error code (see Return value) |
< 0 | Error parsing command line arguments, see Standard Error |