|
|
 |
| C# 2005 For discussion of Visual C# 2005. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the C# 2005 section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

August 13th, 2007, 04:35 AM
|
|
Registered User
|
|
Join Date: Aug 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
How to Sending an email in asp.net 2.0 using C#
Hi to All,
Here I am working on asp.net 2.0 using C#, I need a help for to sending emails with attachments and CC & BCC also.
can any body help me in this regards.. My maild ID: chanbashask@yahoo.com
Thanks in Advance
Basha...
|

August 13th, 2007, 06:52 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: , , Denmark.
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|

August 13th, 2007, 06:59 AM
|
 |
Friend of Wrox
Points: 16,368, Level: 55 |
|
|
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 Posts
|
|
|

August 13th, 2007, 10:49 PM
|
|
Registered User
|
|
Join Date: Aug 2007
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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...
|

August 14th, 2007, 04:29 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Location: , , Denmark.
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi again...
Try logging the SMTP-session:
http://www.systemnetmail.com/faq/4.10.aspx
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |