News for hackers. Stuff that matters.
Re:Show HN: Easy-to-use curl command to send email notificat... by huhtenberg on Wednesday November 21, 2018 @02:25PM (#18505283)
> send to multiple addresses

So this will need to be limited to just several addresses?

> rate limiting on... recipient domain

Including gmail.com and outlook.com?

I'd guess that the simplest option would be to require some sort of registration and requiring an "API token" with every request. Not as clean and easy-peasy, but far more practical for moderation purposes.

Alternatively, a self-hosted version of the same would solve these problems. But if you are planning on turning this into a $ service at some point, that's probably not going to work because of that.

Re:Show HN: Easy-to-use curl command to send email notificat... by mrmattyboy on Wednesday November 21, 2018 @02:33PM (#18505340)
>> send to multiple addresses

> So this will need to be limited to just several addresses? If this is in reference to rate limiting, each address is limited seperately, so if you send a message to 4 addresses and one's over the limit, it will fail and the rest willt work.

If you mean is there a limit to the number fo addresses per request, then there actually isn't and that's a VERY good point, so thank you!

>> rate limiting on... recipient domain

> Including gmail.com and outlook.com?

Yeh, the limit per domain is pretty high (compared to per email address).

> I'd guess that the simplest option would be to require some sort of registration and requiring an "API token" with every request. Not as clean and easy-peasy, but far more practical for moderation purposes.

If you having to register, verify your account, get an API key etc, then it's getting on towards the complexity of other services, which is, both, exactly what I was trying to avoid and means this is a cut-down version of other services, which then makes it redundant :) It was mainly meant for sending a notification to yourself when a command completes to check email delivery and such, not high volumes of traffic.

Re:Show HN: Easy-to-use curl command to send email notificat... by paulgb on Wednesday November 21, 2018 @02:31PM (#18505323)
I run a similar service (but for browser/mobile notifications instead of emails[1]) and take basically that approach. So far abuse hasn't been an issue with ~50k notifications sent.

[1] https://notify.run