What's new
HTML Forums | An HTML and CSS Coding Community

Welcome to HTMLForums; home of web development discussion! Please sign in or register your free account to get involved. Once registered you will be able to connect with other members, send and receive private messages, reply to topics and create your very own. Our registration process is hassle-free and takes no time at all!

Getting a webform to send an email

Drahnyn

New member
Hey folks. It's been about ten years since I've needed to write any html, I'm sorely out of practice and I cannot find the answers I'm looking for online (either that, or I found them and they're not making sense...)

I have to make a simple form, multiple pictures with a text box beneath for each picture (for the user to write descriptions) and then a submit button at the bottom of the page to send me their texts. The last time I wrote html was pre-https, but I've already changed my whole domain to https (it was not fun figuring that out).

What I've got so far is this:

<form action="mailto:email@address" enctype="text/plain" name="Info about those pictures" autocomplete="off">
Picture one:<input type="text" name="Picture one">
<br><br>
Name:<input type="text" name="name"><br><br>
E-mail:<input type="text" name="mail"><br><br>
<input type="reset" value="Reset">
<input type="submit" value="send info" name="submit">
</form>

[[note that this is just lines of the relevant html, I didn't see a point of pasting the entire length of it]]

From doing some reading, I'm not sure if I should be using the input tag for Picture one, or I should be using the textarea tag like this
<Textarea Wrap=Physical Name="Picture one" Cols=30 Rows=1></Textarea>

Either way, I have tried both, individually and together, and cannot get either of them to work. I've been working on this for two days and I cannot get the page to send an email.

Just to add, I've got all the links in the html pointing to https, and I'm still getting "The form is not secure. Autofill has been turned off." even though I have the autocomplete=off. Then, when the send info button is clicked the next page says "The information you’re about to submit is not secure" and when the send anyway button is clicked nothing happens. On that page, in the address bar, is what looks like the email that should be sent. It starts with "mailto:email@address?body=" and has %20 where all the spaces should be. My word processor program shows that the text is just over two full pages and almost ten thousand characters (all in the address bar).

I'm probably (typically) missing something simple to get the email to send, but I (obviously) cannot figure it out.

Any useful advice would be awesome!
 
Back
Top