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>

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".

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.