Search code examples
outlookcommand-line-arguments

how to add format plain text to Outlook command line parameters


in my code . i'm using cmd to start outlook: cmd /c start outlook /c ipm.note /m "[email protected];?cc=;&subject=【依頼】見積依頼について&body=aaa"

start outlook with command line

But it start with format html

outlook init with mode format html

I want to sart cmd with this code and auto open outlook start with mode: plain/text

can anyone help me pass agrument to cmd to open open outlook start and auto select with mode: plain/text ?

start init out look with plain text


Solution

  • The Outlook command line doesn't provide all the options as command line switches. Instead, you may try using the mailto protocol which opens a client's e-mail system and begins a new email message. For example, the following example shows a link that will prepare an e-mail message:

    <a href="mailto:[email protected]?
        subject=MessageTitle&amp;
        body=Message Content">
        Contact Us</a>