Hi 👋 is there a way to add a username to the `smtp_settings` parameter? E.g. Sendgrid does require ...
b
Hi 👋 is there a way to add a username to the
smtp_settings
parameter? E.g. Sendgrid does require one.
r
Hey!
There is an open issue about it, it until then, you can provide three override config in the smtp service, and there should be a function called send_raw_email in there which you can override and manage sending the email yourself.
b
AHh yes I am seeing the issue
for the send_raw_email you have any reference or am I looking at the right place here https://supertokens.com/docs/thirdpartypasswordless/email-delivery/pre-post-email ?
r
So you can use that function too, but in that, you need to also provide the content of the email.
The above link talks about overriding another function get_content, but there is another function in the same type called send_raw_email. So instead of overriding the get_content function, override the send_raw_email one
b
Nice. will have a look. I must say its well documented 💯
r
thank you 🙂
3 Views