Hi Paul,
I have placed a sample ASP.Net Mailing script [simple.aspx] exactly in the same folder where your contact page is eg:
http://image-machine.com/xxx/xxx/simple.aspx
PHP Code:
<% @Page Language="C#" %>
<% @Import Namespace="System.Web.Mail" %>
<%
string strTo = "divine@image-machine.com";
string strFrom = "divine@image-machine.com";
string strSubject = "Test";
SmtpMail.SmtpServer = "mail.image-machine.com";
SmtpMail.Send(strFrom, strTo, strSubject,
"This is a test email sent from the web :O)");
Response.Write("Mail sent successfully !");
%>
I've tested it & emails are delivered successfully to your mailbox. To be honest, I'm not a programmer, so it'd be somewhat difficult for me to debug & get your designed script working... I'm sure someone here will help you out of this
