News for hackers. Stuff that matters.
Re:Ask HN: How do services like Substack and Beehiiv send em... by geoah on Saturday April 15, 2023 @03:13AM (#35578385)
https://en.m.wikipedia.org/wiki/Sendmail

I would suggest against this if you don’t know what you are doing. Dealing with email deliverabolity and reputation is a nightmare. Talk to someone at sendgrid/mailgun/mandrill/etc and focus on more important parts of your service.

Re:Ask HN: How do services like Substack and Beehiiv send em... by starbase on Saturday April 15, 2023 @03:21AM (#35578421)
good advice. if doing this would slow OP down, use a turnkey service.
Re:Ask HN: How do services like Substack and Beehiiv send em... by boeing767 on Saturday April 15, 2023 @04:23AM (#35578723)
Okay, what happens if there are bad actors among my users who use my service to send Nigerian prince emails or boner pill ads?

How will that affect my relationship with Sendgrid?

Re:Ask HN: How do services like Substack and Beehiiv send em... by geoah on Saturday April 15, 2023 @04:35AM (#35578768)
Depends on the service, but all of these services will try to deal with reputation damage by a series of preemptive and reactive actions.

Preemptive being checking the emails before they go out for malicious links etc, and reactive being checking the deliverability (delivered, bounced) as well as optionally email actions (open, click, ubsubscribe, flag) and stopping the account from sending further emails if something bad is happening.

This last part "blocking the account" is what will save you from waking up one sunday morning to find out your domain has been added to all spam lists and no one wants your emails any more. -- This can be even done on a per-sending-account basis. ie Each of you clients can have their own subaccount in these providers and only the infringing account will be impacted.