Author: jrahma | Posted on: 10/5/2010 1:57:58 PM | Views : 344



I am hosting with server intellect on a .NET 2.0
I have a simple contact email form to send email on www.JassimRahma.com/contact.aspx
The hosting company send me this code which works fine:

<% @Page Language="C#" %> <% @Import Namespace="System.Web.Mail" %> <% SmtpMail.SmtpServer = "mail.jassimrahma.com"; string strTo = "jrahma@yahoo.com"; string strFrom = "donotreply@jassimrahma.com"; string strSubject = "Test Subject"; SmtpMail.Send(strFrom, strTo, strSubject,"Text Message Body"); Response.Write("Complete."); %>
but when I try my following code it's not not showing any error message but it's not delivered as well.
I also tried different emails and I am CCing to myself but no luc ...

Go to the complete details ...