next-cms-ghost icon indicating copy to clipboard operation
next-cms-ghost copied to clipboard

I can't send message in Contact page

Open CarlosSpotFix opened this issue 3 years ago • 1 comments

Hi, I'am trying to send a message when someone fills in the form on the contact page and it not work.

  • First error: 'Wrong origin. Check your siteUrl.'. I update the SiteURL and solve it.
  • Second error: 'Sending message fail.'. I don't know why.

Could help me, please?

Thanks

CarlosSpotFix avatar Jun 24 '22 14:06 CarlosSpotFix

You must four secret environment variables (similar to SiteURL):

EMAIL_TO SMTP_HOST SMTP_USER SMTP_PASS

Therefore you need an SMTP account with appropriate credentials to get this feature to work.

styxlab avatar Jun 28 '22 08:06 styxlab