I'm looking for a way to open a New mail in Outlook window.
I need programically fill: from, to, subject, body information, but leave this new mail window open so user can verify content / add something then send as normal Outlook msg.
Found that:
Process.Start(String.Format( "mailto:{0}?subject={1}&cc={2}&bcc={3}&body={4}", address, subject, cc, bcc, body))
But there is no "From" option (my users have more than one mailbox...)
Any advice(s) ?
Click New mail icon above the folder list. A new message form will appear in the reading pane.
Outlook profiles can become corrupted, causing all sorts of problems, including Outlook not opening. Select File > Account Settings > Account Settings. Go to the Email tab. Choose Repair to open the Repair wizard (this option is not available for Outlook Exchange accounts).
In Windows 10, choose Start, type Outlook.exe /safe, and press Enter. In Windows 7, choose Start, and in the Search programs and files box, type Outlook /safe, and then press Enter. In Windows 8, on the Apps menu, choose Run, type Outlook /safe, and then choose OK.
The Ctrl+F shortcut in Outlook is used to forward emails. If you want to find some text with keyboard shortcuts, you can use Ctrl+Shift+F. And if you want to find text in an email, you can open the email in a separate window and then click 'Find' in the email as the screenshot below.
I've finally resolved the issue. Here is piece of code resolving my problem (using Outlook interops)
Outlook.Application oApp = new Outlook.Application (); Outlook._MailItem oMailItem = (Outlook._MailItem)oApp.CreateItem ( Outlook.OlItemType.olMailItem ); oMailItem.To = address; // body, bcc etc... oMailItem.Display ( true );
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With