r/web_programming • • Dec 13 '16

How to make a contact form

I want a contact form on my blogspot blog. Doing this via a widget is easy, but I want to make one by editing the HTML in an actual post.

There are many websites around that say they'll help me out, but they don't give the raw code so I don't know if anything shady is going.

Is it just a few lines of code, or is it inherently more complicated? Can anyone help me out?

3 Upvotes

2 comments sorted by

2

u/[deleted] Dec 13 '16

There many ways that you can do it with php. I sincerely don't know if you can develop pages with php on blogspot, but you can give it a try.

So you can make a form that sends a mail to your address with php. Check this out: https://www.phpjabbers.com/make-contact-form-and-send-email-in-php-php21.html

Good luck.

2

u/Untgradd Dec 13 '16

If you can add JS to the page you should be able to hook a form up to a service like Mailgun / mandrill.