✅ open Mail and start phone call from c# app

I was asked to add a feature to WPF app which shall open default mail client and phone client under certain circumstances. I wonder if starting Processes using "mailto:" and "tel:" URLs is a suitable approach for this? what else could I do? I saw there is a SmtpClient type but it seems to be obsolete and I couldn't find any c# type for phone calls. Is "tel:" and "mailto:" URLs the way to go?
2 Replies
Hackmagician
Hackmagician2y ago
Mail client being the default mail app on the person's device? Smtp is used for sending emails with C#, you could do something like Process.Start("mailto:"); to open mail and Process.Start("tel:<number>"); to start a call I'm assume
Florian Voß
Florian VoßOP17mo ago
aight, going with this approach then, thx
Want results from more Discord servers?
Add your server