Open nuno84 opened 1 year ago
Use something like mailgun or another actual SMTP API. Using cloud function ips for email sending is a good way to get flagged as spam. Probably many other reasons not to do this with a serverless function too.
Hi Machael, But the question is why is it possible in Typescript but there is no alternative in Dart? After all, Dart is converted to JS as well. I can't figure out a reason for it. You are saying that it is bad practice to use in Typescript also, is that it? Thank you for your time.
Yes, bad practice in both. If supabase hasn't blocked, they probably will at some point. As far as being possible in JS vs Dart, it's all about the libraries. JS/Typescript typically has more than dart, but dart is catching up.
Use something like mailgun or another actual SMTP API. Using cloud function ips for email sending is a good way to get flagged as spam. Probably many other reasons not to do this with a serverless function too.
@nuno84 Maybe we should accept this as the proper solution...
Hi, I can send an email using SMTP in Typescript.
However I would prefer to use Dart on the Edge functions. I tried to use the mailer library but it doesn't work. issue What is the best way to achieve this? I can't seem to find a solution in the web, which is weird because I thought it would be a usual feature. Am I overlooking something? Thank you for any tips