2726Retrieve E-Mail from a POP3 Serverhttp://www.quiksoft.com/newsletter/issue003/Building an application to access POP3 mail can be very difficult without the right help. I have been building POP3 apps for 6 years now and have worked closely with professional developers the world over -- helping them to do the same. In this issue of E-Mail Secrets, I am going to show you how to build a reliable POP3 application the easy way. Developers who are new to POP3 as well as seasoned POP3 developers will find this article indispensable. We will cover topics from basic to advanced and offer tips, tricks and secrets that developers of all levels can benefit from. What you will learn from this brief article will save you weeks or more of learning, research and development. I am confident that you can read this article and have a basic, reliable POP3 application up and running within an hour.ASP > Tips and Tutorials > Email SystemsOct 10, 2006
The NewMail object gives you the ability to send a message within an ASP page with only few lines of code. The syntax for sending mail with the NewMail object of CDONTS is as follows:
If you have IIS SMTP service installed on your machine, you can send an email using the service and CDONTS.NewMail object. This object lets you send text or HTML emails (with attachment/images) by a simple way, but its performance is not so good. You can send only several few emails per second. Next sub shows basic CDONTS.NewMail idea.
Now let’s open up the Actions panel and start typing some codes. We’ll be doing a few things here. I won’t be able to explain every detail about everything used because this tutorial would be way too long. We’re simply going to use a flash object called “LoadVarsâ€. We’re also going to surround the whole thing inside an “onRelase†function for the submit button. We will also do some data validation. Also note, there is some extra code, simply for the sake of this tutorial that will allow you to decide whether to use the ASP, PHP, or Perl file. Here’s the code
There exists an inconsistency within the web when it comes to email addresses. The big problem is that there is not a be-all, end-all algorithm for email address validation. This means a million programmers have stepped up to the challenge, myself included, to fill that gap by creating email validators. The problem is, each one is different. Some are too tight, some are too loose, some just dont work at all.
Sending an email with asp is fairly easy, all you need is CDONTS (Collaboration Data Objects for NT Server, installed with IIS), or a special component like AspEmail ( free ) by Persits Software Inc (there are more available).
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.