Not working: Send Email with correct Custom SMTP settings
Hello, I already provided the correct SMTP values to the Custom SMTP Settings, but sending of email is not working. Even when just clicking the AUTH>ADD USER button (send user invite via email)
The SMTP values was validated and worked using EDGE FUNCTIONS Secret Key, I had received a test email. So I am very sure that the SMTP Values are correct. However, even if I copy-paste those values to the Dashboard Custom SMTP Settings, email is not sending.
Please do help.
Thank you
7 Replies
Look in the auth log for the error and details for the exact error message from the provider.

On the AUTH > USERS, when I click the ADD USER button to send a user invite via email, it is showing that error in Red:
Failed to invite user: Failed to make POST request to "https://mrfcysidxecndeucnetj.supabase.co/auth/v1/invite". Check your project's Auth logs for more information. Error message: Error sending invite email
š
On the LOG>AUTH, it is displaying the ERROR / INVITE | 500: Error sending invite email
š
Then below is the full details of the error:
It is hard to past here as this textbox has character limits
{
"event_message": "{"auth_event":{"action":"user_invited","actor_id":"00000000-0000-0000-0000-000000000000","actor_username":"service_role","actor_via_sso":false,"log_type":"team","traits":{"user_email":"pilipinasland@gmail.com","user_id":"045c01d4-b978-4ab6-af09-5c16bdfacd12"}},"component":"api","error":"535 5.7.8 Error: authentication failed: (reason unavailable)","level":"error","method":"POST","msg":"500: Error sending invite email","path":"/invite","referer":"http://localhost:3000\",\"remote_addr\":\"54.251.16.24\",\"request_id\":\"98f6c44426bf17f8-SIN\",\"time\":\"2025-10-16T10:10:32Z\"}",
"id": "4d3d1741-e83f-4510-ba63-d2dde14d0afe",
"metadata": [
{
"host": "db-mrfcysidxecndeucnetj",
"component": "api",
"_SYSTEMD_CGROUP": null,
"grant_type": null,
"request_id": "98f6c44426bf17f8-SIN",
"mail_from": null,
"message": null,
"_SOURCE_REALTIME_TIMESTAMP": null,
"PRIORITY": null,
"_AUDIT_LOGINUID": null,
"signal_enabled": null,
"panic": null,
"metering": null,
"UNIT": null,
"event": null,
"SYSLOG_FACILITY": null,
"msg": "500: Error sending invite email",
"mail_type": null,
"grace_period_duration": null,
"EXECUTABLE": null,
"user_id": null,
"_CMDLINE": null,
"action": null,
"notify_enabled": null,
"poller_interval": null,
"auth_event": [
{
"action": "user_invited",
"actor_id": "00000000-0000-0000-0000-000000000000",
"actor_name": null,
"actor_username": "service_role",
"actor_via_sso": false,
"log_type": "team",
"traits": [
{
"channel": null,
"identity_id": null,
"provider": null,
"provider_id": null,
"provider_type": null,
"user_email": "pilipinasland@gmail.com",
"user_id": "045c01d4-b978-4ab6-af09-5c16bdfacd12",
"user_phone": null
}
]
}
],
"signal_number": null,
"level": "error",
"_PID": null,
"path": "/invite",
"duration": null,
"_COMM": null,
"sso_provider_id": null,
"header": null,
"_MACHINE_ID": null,
"web3_domain": null,
"login_method": null,
"_STREAM_ID": null,
"source_type": null,
"_LINE_BREAK": null,
"web3_address": null,
"_EXE": null,
"_AUDIT_SESSION": null,
"_TRANSPORT": null,
"x_forwarded_proto": null,
"time": null,
"mail_to": null,
"_GID": null,
"stack": null,
"x_forwarded_host": null,
"saml_entity_id": null,
"worker_type": null,
"poller_enabled": null,
"status": null,
"_UID": null,
"valid_until": null,
"web3_uri": null,
"method": "POST",
"CODE_FILE": null,
"remote_addr": "54.251.16.24",
"provider": null,
"_SYSTEMD_UNIT": null,
"issuer": null,
"error": "535 5.7.8 Error: authentication failed: (reason unavailable)",
"client_id": null,
"MESSAGE_ID": null,
"url": null,
"referer": "http://localhost:3000",
"_SYSTEMD_INVOCATION_ID": null,
"CODE_FUNC": null,
"_BOOT_ID": null,
"INVOCATION_ID": null,
"MONOTONIC_TIMESTAMP": null,
"web3_chain": null,
"timestamp": null,
"REALTIME_TIMESTAMP": null,
"immediate_login_after_signup": null,
"CODE_LINE": null,
"_SYSTEMD_SLICE": null,
"count": null,
"instance_id": null,
"args": [],
"SYSLOG_IDENTIFIER": null,
"metadata": [],
"auth_audit_event": [],
"_CAP_EFFECTIVE": null,
"factor_id": null,
"_SELINUX_CONTEXT": null,
"expires_in": null,
"version": null,
"project": null
}
],
"timestamp": 1760609432000000
}
Please help. Thank you for responding by the way. š
"error": "535 5.7.8 Error: authentication failed: (reason unavailable)",
It could not authenticate with your provider.
What provider are you using?
Hostinger
I already communicated with them yesterday. They said, they do not block any IP addresses on their SMTP.
Anyway, when I tried the EDGE FUNCTIONS Secret Key test smtp, it sent an email and I received it. So maybe there is no problem with hostinger side
There is also no bug with Supabase SMTP in general as no one is reporting issues.
So something is wrong with your credentials or there is a specific bug for hostinger smtp with it.
Most use mainstream SMTP like Resend, Brevo, etc. where email is there specialty.
Don't find much on hostinger smtp here, but there was this one with a different error and finally bailed to Brevo.
https://discord.com/channels/839993398554656828/1006358244786196510
Alright I will check again.
Thank you for your assistance