I'm not sure this is the right forum for this question, so apologies in advance.
My app is a C#/Winform app (VS 2019). It will let users send emails with app data. The users add recipients in a form and then click send email.
The sendEmail() procedure constructs a string somewhat like this:
"mailto:billy10101010106@gmail.com?subject=Your rent is late again&body=Ratcliffe, who was first elected to the House in 2014"
The next line is:
Process.Start(mailto);
and that doesn't error out but what happens is the Microsoft Mail app is invoked. This is OK in that I don't want my program to mail anything out without the user's explicit action.
So in the Microsoft Mail app, I click Send and...nothing happens, usually. On occasion, it works, but very seldom. Or it takes 10-15 min to send and after I click Send, there is nothing. No message in Sent or Sent Mail (what's the difference?) or anywhere.
I don't care about the Microsoft Mail app, I just want the user to be able explicitly email. I thought this should go to the default mail system, which for me is gmail, but it doesn't.
RON
My app is a C#/Winform app (VS 2019). It will let users send emails with app data. The users add recipients in a form and then click send email.
The sendEmail() procedure constructs a string somewhat like this:
"mailto:billy10101010106@gmail.com?subject=Your rent is late again&body=Ratcliffe, who was first elected to the House in 2014"
The next line is:
Process.Start(mailto);
and that doesn't error out but what happens is the Microsoft Mail app is invoked. This is OK in that I don't want my program to mail anything out without the user's explicit action.
So in the Microsoft Mail app, I click Send and...nothing happens, usually. On occasion, it works, but very seldom. Or it takes 10-15 min to send and after I click Send, there is nothing. No message in Sent or Sent Mail (what's the difference?) or anywhere.
I don't care about the Microsoft Mail app, I just want the user to be able explicitly email. I thought this should go to the default mail system, which for me is gmail, but it doesn't.
RON
Last edited: