How to send Mail

Results 1 to 2 of 2

Thread: How to send Mail

  1. #1
    Join Date
    Dec 1969

    Default How to send Mail

    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>&#060;%@ Import Namespace="System.Web.Mail" %&#062;<BR><BR>and at the End<BR><BR>Dim objMailMessage as MailMessage<BR>objMailMessage=new MailMessage<BR>objMailMessage.From=txtEmail.Text<B R>objMailMessage.To=""<BR>ob jMailMessage.Subject="Thank You For Enquiry"<BR>objMailMessage.Body="We will Be Back with Details"<BR>objMailMessage.Priority=MailPriority.H igh<BR><BR>SmtpMail.Send(objMailMessage)<BR><BR><B R>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

  2. #2
    Join Date
    Dec 1969

    Default post exact error <eom>


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts