HubRise / website

0 stars 4 forks source link

Contact form #51

Closed antmonnier closed 4 years ago

antmonnier commented 4 years ago

Our contact form (available under the "Contact Us" link in https://www.hubrise.com/pricing ) is currently static and not wired to anything.

I was thinking of using formspree or something similar. I don't expect to receive more than a few submissions each month so even a very basic solution could be good enough. We only need the message to be sent to contact@hubrise.com and ideally put the customer in copy. That's all )

@Ozerich which solution would you recommend?

Ozerich commented 4 years ago

We should use some transactional email service, for example Mailgun. So, we don't have own API and we have to use Mailgun API directly from JS code. Approximately estimation: 6h

Next, we need connect Invisible Google Recaptcha. Approximately estimation: 3h

antmonnier commented 4 years ago

Is it possible to use SendGrid instead? We already use this solution on another project.

Ozerich commented 4 years ago

of course, it is possible. Share pls me API_KEY or smth else what allow me connect its API

antmonnier commented 4 years ago

I've just created an API key for the website, with permissions to send email: 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

Let me know if you need more permissions or access to the back office.

Ozerich commented 4 years ago

SendGrid doesn't allowed to make requests from browser, because it's not safe https://sendgrid.com/docs/for-developers/sending-email/cors/ We should make requests from server side or use some service that doesn't required backend.

Ozerich commented 4 years ago

Also, to enable Google Recaptcha you should register it here and share me the keys.

https://www.google.com/recaptcha/admin/

antmonnier commented 4 years ago

Google Captcha v3: