If you have formmail.cgi or something like that, the mail script is calling up sendmail which is for unix/linux. Use something like CDO for NTS and make sure you have SMTP server installed in your IIS properties.
This would be the processor that your form sends to. It's ASP of course, but just make this a file called process.asp and put it in the same dir as the form you want to use. For the mailer form use code that looks like this
"<form action="processmail.asp" method="POST">
<input type="hidden" name="recipient" size="25" value="youremail@yourdomain.com">
<tr>
<th width="588" height="453">
</center>
<p align="center" style="margin-left: 50; margin-right: 50; margin-top: 5">
<p align="center" style="margin-left: 50; margin-right: 50; margin-top: 5">Send
Us A Message
<table width=478 border=0 cellpadding=0 cellspacing=0>
<tr>
<font face="Trebuchet MS, ms sans serif, Verdana,Arial" size=2 color=#f0f0f0>
<td width="114">Name </td>
</font>
<font face="Trebuchet MS, ms sans serif, Verdana,Arial" size=2 color=#f0f0f0>
<td width="360"><input type="text" name="name" size="25"></td>
</font>
</tr>
<tr>
<font face="Trebuchet MS, ms sans serif, Verdana,Arial" size=2 color=#f0f0f0>
<td width="114">Your Email </td>
</font>
<font face="Trebuchet MS, ms sans serif, Verdana,Arial" size=2 color=#f0f0f0>
<td width="360"><input type="text" name="email" size="25"></td>
</font>
</tr>
<tr>
<font face="Trebuchet MS, ms sans serif, Verdana,Arial" size=2 color=#f0f0f0>
<td width="114">Message </td>
</font>
<font face="Trebuchet MS, ms sans serif, Verdana,Arial" size=2 color=#f0f0f0>
<td width="360"><textarea rows="7" name="message" cols="30"></textarea></td>
</font>
</tr>
</table>
<input type="submit" value="Submit"> <input type="reset" value="Reset">
</form>"
drop that "<form>" into your page and it will enter the form contents into your process.asp and then mail it out with your default smtp server that comes with IIS.
Hope this helps, it works great for me and my clients.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.