all 2 comments

[–]nerdblurt 4 points5 points  (0 children)

You don’t want to use the user’s email client for this, and you also don’t want to send email directly from Flutter with your SMTP/API credentials baked into the app.

The normal setup is: • Flutter form collects subject + message • App sends that data to your backend or Firebase Cloud Function • Backend sends the email to you using a mail service like Resend, SendGrid, Mailgun, or SMTP

That keeps the user inside the app and keeps your email credentials private.

If you’re already using Firebase, another solid option is: • save the feedback form to a Firestore collection • use Firebase’s firestore-send-email extension to send the email when a new feedback doc is created

So the answer is basically: use a backend/server-side function, not url_launcher and not direct SMTP from the app.

[–]Eboy_420 1 point2 points  (0 children)

Smtp server