The text of this article is not in this database — only its details are. The old site it was published on is gone, but the Internet Archive kept a copy: Send Email in ASP.Net with attached file
Join the conversation! Your thoughts help the community grow.
Sign in to leave a comment
It is the same account you read, post and publish with — and you will come straight back to this page.

Aabasaheb SangalePosted May 31, 2013, 7:22 AM
When I run above code follwing error are occured:No connection could be made because the target machine actively refused it 127.0.0.1:25,plz give me solution
ArockiaeditedPosted Apr 10, 2013, 5:40 PMEdited Apr 10, 2013, 5:40 PM
code didnt worked for me!!! it gives error "System.Net.Mail.SmtpException was unhandled by user" in emailWithAttach.Send(message); plz help
hariomeditedPosted Apr 9, 2013, 9:52 AMEdited Apr 9, 2013, 9:53 AM
didnt worked for me!!! gives error System.Net.Mail.SmtpException was unhandled by user
Mohamed AsanePosted Oct 11, 2012, 10:47 AM
very good article
pavan kumarPosted Jan 18, 2011, 11:14 PM
ur articles so nice i really appreciate sir but in this article i am getting the error on this line emailWithAttach.Send(message); pls clarify my error its a request
Abhimanyu K VatsaPosted Jun 7, 2010, 10:22 AM
Hello Rahu Bhaiya...... your article is really nice for novice. i have some problem on it. how to refer the web.config file credential. i don't want the "localhost". i want to refer only and only web.config file. please tell me how i change to get it. thanks
sa saPosted Sep 15, 2009, 3:43 AM
d