FAQ for Email Sending in ASP.NET

Email sending in ASP.NET is very easy! There's a library named "System.Web.Mail" provide a easy emailing services for ASP.NET Developers, we can prepare and send an email from our Web application in just 1-2 lines of codes. Moreover, Web Matrix provide a Code Wizard which contain a Email Sending module/wizard which will generate the code to send email in a visual way.

Well, What I want to say in this blog is that MikePope post a FAQ thread in the ASP.NET Forum last week, in which he had covered MOST of the query/question about email sending, it's compensive and cool! (view post)

The FAQ included:

  • How do I configure a local SMTP server?
  • Can I use a "friendly name" in the To and From properties?
  • How do I add an attachment to an email?
  • How can I determine if my email is being sent successfully?
  • Could not access 'CDO.Message' object.
  • 550 5.7.1 Unable to relay for xxxxx or 550 not local host xxxxx, not a gateway 
  • Can I specify authentication information as part of the email message in ASP.NET? 
  • ...

I'd like to highlight one of the FAQ , the last one - specify authentication information in sending email: Many people have its own email account from their ISP, while it mostly require a login/authentication in order to use it. However, the current MailMessage class doesn't provide this fucntion (yet?)... 
BUT, Dave's "AspNetEmail" do! You can specify a UserName/Password for server that require authentication to relay!

Honestly, I still don't have a chance to use this component as I don't have a licensed copy. However, I know my friends (ALowe and ScottW) have a pretty good experience for this product on ASPAdvice and his Blog application! :o)

Published Friday, July 11, 2003 5:38 PM by Colt
Filed under:

Comments

# Colt Kwong's Blog

Colt Kwong's Blog

Friday, July 11, 2003 4:38 AM by TrackBack

# Colt Kwong's Blog

Colt Kwong's Blog

Friday, July 11, 2003 4:38 AM by TrackBack

# re: FAQ for Email Sending in ASP.NET

nice FAQ ... can you add or point me some links where I can receive e-mail programatically !! It will be lot useful in
my scnario, where I send message to a custom (cell) phone, the user replies to my messages, which I should be able to pick-up in my program (.Net)

Thanks,
Varadhg

Saturday, July 19, 2003 12:35 AM by Gopinath Varadharajan

# An addition to the FAQ for Email Sending in ASP.NET

Saturday, August 02, 2003 2:23 PM by TrackBack

# FAQ on System.Web.Mail Namespace

Saturday, January 03, 2004 7:02 PM by TrackBack

# FAQ on System.Web.Mail Namespace

Saturday, January 03, 2004 7:03 PM by TrackBack

# FAQ on System.Web.Mail Namespace

Saturday, January 03, 2004 7:04 PM by TrackBack

# re: FAQ for Email Sending in ASP.NET

I want to know, how to send email to all kinds of server? Currently, I'm facing problems sending to other mail server except it is the same server as mine. For example, I can't use my mail server to send to other server like hotmail or yahoo..
Please help, thanx

Friday, April 02, 2004 1:41 AM by Tan Ming Keat

# re: FAQ for Email Sending in ASP.NET

Hi Tan Ming,

Provided that the destination is a valid email account, we can use the System.Web.Mail to send out email to anyone by setting the ".To" field programmatically.

Friday, April 02, 2004 1:55 AM by Colt

# re: FAQ for Email Sending in ASP.NET

As in many cases happens with blogs, I’ve been neglecting to record all the latest e cigarette talk on this network purlieus like I planned to when I started it up a four of years ago. I’m silent using e cigarettes and still interested in the dynamism so it’s a hint of a obloquy that I’ve give permission it go.  

Looking at my traffic stats over the extent of the spider's web locate the other period I realized I’m noiseless getting a a heap of people visiting looking to dress up low-down on a species of electronic cigarette topics so I reflecting it was roughly point that I started to provide some high prominence pleased once again. With that in do not give a second thought to I’ve stony I’m going to test utmost to adhere to the blog up to date in th future. I’m not cheering to register every day, but expectantly I’ll manage to get something engaging or functional up definitely a week or so.  

I’ll start with a abrupt post of electronic cigarette reviews which will give you a spoonful low-down up the brands I believe are currently the superior on the market. I’m not universal to minimize much there each kind I entertain tried, but good a not many pointers so that you don’t intuit heart lost when you are deciding to buy. Look forth to get a load of that e cigarette review article notify in a link of days when I manipulate it completed. After that we’ll expectedly have some attractive e cig info to discuss.  

Check this out: <a href=electroniccigaretteinsider.com/ezsmoker.html>ez smoker</a>

Thursday, November 17, 2011 10:12 PM by Diandelia

Leave a Comment

(required) 
(required) 
(optional)
(required)