Contact form without using services


I need to upload files from a custom form in my hugo site.

I dont want to use a non-free solution (it’s a personnal site).

Is there a free and ad-free solution even if I need to code it.

Thank you

Hi Cedric,

Have a look to contact forms, maybe it fits your needs. You should check if there is support for file uploading. Here are some reviews:

1 Like

You might want to try PhpMailer, if you can run php on your server. There is a German tutorial on the web and a couple of posts on the forum as well.

Yes, PHP is a good option.

The Hugo Zen Theme provides another example.

Thanks you I managed this with PHP.