Hi all,
I have developed a website using Vue.js, as the project is mainly focused on UI development. I haven’t used a backend, particularly for handling emails. To enable email functionality, I used EmailJS.
The issue is that the email functionality works correctly on the host and on the permanent link, but not in production.
The domain for this website is currently hosted on Hostinger.
Is this a good choice, or should I use PHP for handling emails instead?
If yes, can I host it on Netlify and still use PHP for email?
@vena.llanaj I can’t advise regarding EmailJS, (and Netlify’s staff may not either since it’s entirely unrelated to them), it’s generally up to you to determine the suitability of the tools that you use.
You won’t be able to do it with PHP directly on Netlify.
As you can use PHP during “build” (to produce a static site), but not to host dynamic content.
The equivalent on Netlify is to use Serverless Functions.
You could host PHP elsewhere though, and then use it as an API from a site hosted on Netlify.
Hi @nathanmartin thanks for your reply.
Instead of the EmailJS might I use Setup Email Functionality (Contact Form)
might I use: Netlify Forms + Zapier/Email ?
@vena.llanaj Perhaps, it ultimately depends on what you’re trying to do with the emails.