I have been struggling with setting up a basic ASP form to email script. When attempting to include the SMTP, I was informed the client is using a Microsoft Exchange Server.
I have failed horribly by changing the values for 'referers' and 'smtpServer'. Do I need entirely different code or can this be tweaked?
Here are the form basics...
[code:1:e19983663c]<form action="scripts/form.asp" method="post">
<p>
<input name="_recipients" type="hidden" value="sales@komota.com" />
<input name="_requiredFields" type="hidden"
value="Name,Customer ID,Email,Comments" />
Name: <input name="Name" type="text" /><br />
Customer ID: <input name="Customer ID" type="text" /><br />
Email Address: <input name="Email" type="text" /><br />
Comments:<br />
<textarea name="Comments" rows=5 cols=50></textarea>
<input type="submit" value="Submit" />
<input type="reset" value="Clear" />
</p>
</form>[/code:1:e19983663c]
Here are the ASP basics...
[code:1:e19983663c] referers = Array("
www.komota.com","komota.com")
mailComp = "ASPMail"
smtpServer = "mail.komota.com/exchange"
fromAddr = "sales@komota.com"[/code:1:e19983663c]
I was informed that the Exchange is being run on IIS 5 or 6 and it has an ISP of 136.1.2.1.
Thanks for helping me out, gang!!!