KB Home > Form Mail > Using form to mail

Below are a few steps on how to use the sendmail.asp script:

Put the following in the <form> tag:

<input type="hidden" name="cdoSubject" value="Subject Goes here">
<input type="hidden" name="cdoSuccessURL" value="success,html">
<input type="hidden" name="cdoFailureURL" value="failure.html">
<input type="hidden" name="cdoTo" value="recipient@test.com">
<input type="hidden" name="cdoFrom" value="sender@test.com">
<input type="hidden" name="cdoFromName" value="Senders Full Name">


The action value in the <form> tag should point to:
International: http://www.glodns.net/sendmail/sendmail.asp
Local: http://www.wadns.net/sendmail/sendmail.asp

Alternatively you may Download the sendmail script and run it under your domain. Further examples are available in the example.html file.

View the following URL for additional information
http://www.swazz.com/sendmail/