hello<BR>I am trying to create automated email at the end of Database addtion .<BR>For tht <BR>i have written following code<BR><BR><%@ Import Namespace="System.Web.Mail" %><BR><BR>and at the End<BR><BR>Dim objMailMessage as MailMessage<BR>objMailMessage=new MailMessage<BR>objMailMessage.From=txtEmail.Text<BR>objMailMessage.To="[email protected]"<BR>objMailMessage.Subject="Thank You For Enquiry"<BR>objMailMessage.Body="We will Be Back with Details"<BR>objMailMessage.Priority=MailPriority.High<BR><BR>SmtpMail.Send(objMailMessage)<BR><BR><BR>it generates an error saying tht SendUsing Configuration is Invalid....... What is Wrong with the code........ or do ineed to make any modifications<BR>Dhiraj.