Greater-London-Authority / ldn-viz-tools

https://greater-london-authority.github.io/ldn-viz-tools/
1 stars 0 forks source link

Node mailer util #309

Closed PaulioRandall closed 1 month ago

PaulioRandall commented 1 month ago

What does this change?

Adds the postMail function to the utils package that posts mail via node-mailer instance.

Why?

Because the API is easy to forget and error handling is non-standard. It's doubles up as documentation for sending requests to node-mailer.

How is it tested?

Used and tested in https://dev.ldn-gis.co.uk/cool-spaces/

How is it documented?

TypeScript and file comments.

Is it complete?

PaulioRandall commented 1 month ago

Not needed, push to template instead.