0

Hi. i have small problem with sending email.(he not send)

<FORM METHOD=POST ACTION="mailto:darguzas.sigitas@gmail.com" ENCTYPE="text/plain">
<label>Vartotojo vardas</label>
<INPUT TYPE="text" NAME="username">
<label>Jūsų electroninis paštas</label>
<INPUT TYPE="email" NAME="email">
<label>Kodėl norite prisijunkti prie mūsų sistemos ?</label>
<TEXTAREA NAME="COMMENTS" ROWS="10" WRAP="hard">
</TEXTAREA>
<INPUT NAME="redirect" TYPE="hidden" VALUE="index.html">
<INPUT NAME="NEXT_URL" TYPE="hidden" VALUE="index.html">
<BR>
<button TYPE="submit" VALUE="submit" class="btn btn-success">Dėti užklausą</button>
</FORM>

Edited by sigitas.darguzas: error with code

2
Contributors
2
Replies
13
Views
3 Years
Discussion Span
Last Post by sigitas.darguzas
1

This method is unreliable. You must use method="get" in your <form> tag for this method to work at all. Many browsers will just open a new window in the user's Email program to allow him to enter his message and send it.

You should install a "formmail" script on the server to send Emails. You can find them by searching on "formmail script".

Edited by rtrethewey: typo

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.