Quantcast
Channel: Active questions tagged email - Stack Overflow
Viewing all articles
Browse latest Browse all 29758

Send email using the installed mail client in .Net

$
0
0

How can I send an email without attachments using the default email client installed on Windows 10/8/7.

I tried the following code but it is just opening a blank page in the Chrome browser.

    var url = "mailto:someone@somewhere.com?subject=Test&body=Hello";    System.Diagnostics.Process.Start(url);

I can fix it by changing the Default mail client from Google Chrome to MS Outlook, but shouldn't the Google Chrome smartly open Gmail?


Viewing all articles
Browse latest Browse all 29758

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>