HTML Form can't send email

Closed
Isis_Pan
Posts
7
Registration date
Thursday April 28, 2016
Status
Member
Last seen
May 18, 2016
- Apr 29, 2016 at 12:00 PM
 Blocked Profile - May 2, 2016 at 04:51 PM
¡Hi! I'm new here and I'm learning how to programming in HTML , so I'm doing a web page and i have a problem the form can't send the data at my email and I can't figure the problem also when you send the web shows a fault to conection whit the server

the page:
"http://cepssamx.com/Bolsa%20de%20trabajo.html"

the fault when send:
"http://cepssamx.com/contacto@cepssamx.com"

HTML Code:

<div class="comment-outer">
<div id="respond" class="comment-respond">


<h2 id="reply-title" class="comment-reply-title">Envianos tus datos</h2>


<form class="form-grp clearfix grpelem" method="post" enctype="multipart/form-data" action="contacto@cepssamx.com">

<p class="comment-notes">Favor de llenar todos los campos</p>
<p class="comment-form-email">
<label for="author">Nombre completo</label>
<span class="required"></span>
<input id="author" type="text" class="text">
</p>
<p class="comment-form-author">
<label for="email">Email</label>
<span class="required">*</span>
<input id="email" type="text" class="text">
</p>

<p class="comment-form-url">
<label for="Telephone">Teléfono</label>
<input maxlength="10" class="number" telephone="number">
<span class="required">*</span>
</p>


<p> <label for="birthdate">Dia de nacimiento</label>
<input id="birthdate" type="text" class="imput-text" date="birthdate">
<span class="required"></span> </p>
<p> <label for="subject">Puesto que se solicita</label>
<span class="required">*</span>
<input id="subject" type="text" class="text" >
</p>

<p>
<label for="subject2">Profesión u Oficio </label>
<span class="required">*</span>
<input id="subject2" type="text" class="text">
</p>

<p>
<label>cv</label><input type="file" name="archive[]" placeholder="Ingrese su CV"/>

</p>

<p class="comment-form-comment"><label for="message">Message</label><textarea name="message" id="message" cols="45" rows="10" class="input-text">
</textarea>
</p>
<p class="form-submit">
<input class="submit" name="submit" type="submit" id="button" value="Enviar">

</p>

</form>


</div><!-- end comment-respond --> </div><!-- end comment-outer -->

</div><!-- end site-content -->
</div><!-- end content-area -->

Help!
please!




Also, sorry English is not my mother tongue

1 reply

Blocked Profile
Apr 29, 2016 at 05:04 PM
Well, your form (from what I can tell from elements), is opening up the default mail program to send the form. If user does not have a default email configured, it will fail.

You really need to package it up into a server side package and send from an authenticated SMTP server for a BULLET PROOF solution!

I have said it once, I will say it again. IT!
1
Isis_Pan
Posts
7
Registration date
Thursday April 28, 2016
Status
Member
Last seen
May 18, 2016

May 2, 2016 at 12:57 PM
Thanks for answer...
I fixed it and now can send the form to my email but the contents came mixed and with things i did not put on it like this

archive%5B%5D=image.png&message=Ojal%C3%A1+funcione+&submit=Enviar


did you know why? And what can i do?
0
Blocked Profile
May 2, 2016 at 04:51 PM
That is encoding produced by special characters in the Webpage. You have to encode them yourself using the proper codes!
0