Xamarin.Forms: Form data to email

Kidd, Haley (GE CoreTech & Cyber) 6 Reputation points
2020-12-14T21:04:41.99+00:00

I am looking to do the same as this post
https://sharepoint.stackexchange.com/questions/148226/send-e-mail-from-javascript-using-rest-api
but for a Xamarin.forms application.

The use case is that upon submission of the form (triggered by submit button click) I want an email to go to our company account that a new submission has occurred. Is there an API in Xamarin forms that I can use without having to set up an SMTP server for the mail to be coming from? If an SMTP server does need to be set up, how can I do so in a secure way without exposing credentials in the code base?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,283 questions
{count} votes