View Single Post
  #4 (permalink)  
Old August 13th, 2007, 09:49 PM
Bashu Bashu is offline
Registered User
 
Join Date: Aug 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Bashu Send a message via MSN to Bashu
Default

Quote:
quote:Originally posted by Jonax
 Google is your friend...

http://www.aspnettutorials.com/tutor...t2-csharp.aspx

Hi Thanks for ur reply and I gone throgh as u given link, I am inserted following fields such:

            MailAddress SendFrom = new MailAddress(txtFrom.Text); //name@yahoo.com
            MailAddress SendTo = new MailAddress(txtTo.Text); mail@yahoo.com
            MailAddress SendCC = new MailAddress(txtcc.Text); cc@yahoo.com
            MailAddress SendBcc = new MailAddress(txtBcc.Text); bcc@yahoo.com


            MailMessage MyMessage = new MailMessage(SendFrom, SendTo);

            MyMessage.CC.Add(SendCC);
            MyMessage.Bcc.Add(SendBcc);

            MyMessage.Subject = txtSubject.Text;
            MyMessage.Body = txtBody.Text;

            SmtpClient emailClient = new SmtpClient(txtsmtpServer.Text); systemIDAddress(10.1.11.144)
            emailClient.Send(MyMessage);
            lblMessage.Text = "Message has been sent";


Here message is displaying as meseeage sent successfully. But mail is not goin to TOMAIL ID.
pls help me inthis regard. can I change any things in that...


Thanks,
Basha...