p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


Go Back   p2p.wrox.com Forums > C# and C > C# 2005 > C# 2005
I forgot my password Register Now
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 13th, 2007, 04:35 AM
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 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...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #2 (permalink)  
Old August 13th, 2007, 06:52 AM
Friend of Wrox
Points: 386, Level: 6
Points: 386, Level: 6 Points: 386, Level: 6 Points: 386, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , Denmark.
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Jonax
Default

Google is your friend...

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #3 (permalink)  
Old August 13th, 2007, 06:59 AM
planoie's Avatar
Friend of Wrox
Points: 16,368, Level: 55
Points: 16,368, Level: 55 Points: 16,368, Level: 55 Points: 16,368, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,394
Thanks: 0
Thanked 2 Times in 2 Posts
Default

http://www.systemnetmail.com/

-Peter
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #4 (permalink)  
Old August 13th, 2007, 10:49 PM
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...



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
  #5 (permalink)  
Old August 14th, 2007, 04:29 AM
Friend of Wrox
Points: 386, Level: 6
Points: 386, Level: 6 Points: 386, Level: 6 Points: 386, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , Denmark.
Posts: 184
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Jonax
Default

Hi again...
Try logging the SMTP-session:
http://www.systemnetmail.com/faq/4.10.aspx

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending email in VB.net lowell .NET Framework 2.0 3 November 30th, 2008 11:51 AM
sending email from asp.net/sqlserver on a particul hepsy.i ASP.NET 1.0 and 1.1 Professional 1 July 11th, 2008 09:09 AM
Sending Email with ASP.NET stu9820 ASP.NET 1.0 and 1.1 Basics 19 February 9th, 2007 03:50 AM
sending email through asp.net amol.mahajan85@gmail.com .NET Framework 1.x 2 October 19th, 2006 01:13 PM
Error in sending email from asp.net asif_sharif ASP.NET 1.0 and 1.1 Professional 4 January 7th, 2006 05:22 PM



All times are GMT -4. The time now is 11:17 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2008 Wiley Publishing, Inc