Sending email via Workers
I want to send email via Workers. I crated a worker, and it's working properly. I don't use MailChannels, or another services. I have SMTP infos for emailing. How can I send a SMTP email via Worker? The second question about workers; Can I add different dependencies to my worker via npm?
3 Replies
Actually I'm looking for free solutions. I don't need another service, but I don't know how to send email via the workers.
As far as I understand, Workers don't support connection to SMTP server. I should connect to SMTP server in the webhook.
You cannot make outgoing smtp connections directly from a Worker because port 25 is blocked. You have to use an external service.
Thanks