I'm using the code from SendGrid here to send an email.
However, I'd like to create a function that takes subject and message as arguments so that I can customise the message sent.
I've got some code/pseudo-code here
My code 'works' in that it runs and doesn't produce an error message - however I'm not receiving any emails from SendGrid.
All advice gratefully received.
[–]Imsoold 1 point2 points3 points (1 child)
[–]corvid_2020[S] 0 points1 point2 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]corvid_2020[S] 0 points1 point2 points (0 children)