Crate outlook_exe

Crate outlook_exe 

Source
Expand description

Convenience wrappers for command-line invocation of Outlook.

§Example

Basic usage:

use outlook_exe;

outlook_exe::MessageBuilder::new()
    .with_recipient("noreply@example.org")
    .with_subject("Hello, World!")
    .with_body("Line with spaces\nAnother line")
    .with_attachment("C:/tmp/file.txt")
    .spawn()
    .unwrap();

Structs§

MessageBuilder
The MessageBuilder type, for drafting Outlook email messages.