Home > DeveloperSection > Forums > Sent email from the program
Mark Devid
Mark Devid

Total Post:102

Points:714
Posted on    April-10-2014 11:47 PM

 C# C# 
Ratings:


 1 Reply(s)
 1046  View(s)
Rate this:

I already created the application in windows forms c# which ready to be use by another user in another computer, but i am aware there will be an error occurred when run my program (because i didn't have enough time to check everything), so I decided to let users find the bug and report to me through email.

I have a button "Report a Problem", but how do i when users click that button, it will open the Microsoft Outlook and automatically filled up the Received Email or "To" with my own email?



Pravesh Singh

Total Post:411

Points:2881
Posted on    April-11-2014 12:10 AM

Hi Mark,

I would suggest:

Process.Start("mailto:your@emailaddress.com");

This will prompt Windows to create a new mail using the default email provider (which will most likely be Microsoft Outlook if it's installed).

To use this method, please add:

using System.Diagnostics;

to the top of your code file.


Don't want to miss updates? Please click the below button!

Follow MindStick