email = 'user@example.com'
link = auth.generate_password_reset_link(email, action_code_settings)
# Construct password reset email from a template embedding the link, and send
# using a custom SMTP server.
send_custom_email(email, link)
So I'm using this code from https://firebase.google.com/docs/auth/admin/email-action-links#python in django
and I'm getting this error:
NameError: name 'send_custom_email' is not defined
And nothing is mentioned in the documentation. So if anyone knows the solutions it would be great.