New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Sending a file to email after form submit

Sophie April 14, 2021 by Sophie

Hi all,

soon I need to make a form where you can leave your name and email address, and after submitting the form there will be a specific file send to that email. I want to solve it with HTML/ JavaScript/ AJAX because I'm not familiar with PHP.

I've been searching on Google and on this forum, but I couldn't find anything relevant to my question. Is there someone who already made this and want to share their way of creating this? Or have some ideas on how to make this?

Thanks in advance!

>>>>>>> Unanswered <<<<<<<
2 Replies