Troubleshoot Contact Form
"Email service not configured"
Cause: The RESEND_API_KEY secret is not set.
Solution:
Go to Cloud → Secrets in Lovable
Add the
RESEND_API_KEYsecret with your Resend API key
"Contact email not configured"
Cause: The CONTACT_EMAIL secret is not set.
Solution:
Go to Cloud → Secrets in Lovable
Add the
CONTACT_EMAILsecret with your email address
Emails not arriving
Possible causes and solutions:
Check spam folder - Emails from
onboarding@resend.devmay be flagged as spamDomain not verified - If using a custom domain, ensure it's verified at resend.com/domains
Invalid API key - Regenerate your API key and update the secret
Email typo - Double-check the
CONTACT_EMAILvalue for typos
"Too many requests. Please try again later."
Cause: Rate limiting is active. The form allows 5 submissions per minute per user.
Solution: Wait 1 minute before trying again. This is intentional to prevent spam.
Emails going to spam
Solutions:
Verify your own domain (recommended for production)
Ask recipients to add your sender address to their contacts
Ensure your domain has proper SPF and DKIM records (Resend provides these)
Quick Reference
Secret Name | Description | Example Value |
|---|---|---|
| Your Resend API key |
|
| Email to receive submissions |
|
