Skip to main content

[Persits ASPEmail Review] A Powerful Server-Friendly SMTP Component for Microsoft Environment

[Persits ASPEmail Review] A Powerful Server-Friendly SMTP Component for Microsoft Environment

Introduction

Email and messaging has become an inseparable part of any web application. The days of static HTML have just disappeared. The era of depending on CGI scripts for email functionality and rest in the native applications is slowly disappearing. The compelling point is that every application should support fully tuned and fine-grained SMTP functionality be it Desktop or Web.
Applications use email for a diversified reasons. A few of the requirements are here under:

  1. Contacting back to (Parent) Website
  2. Newsletter Solutions
  3. Peer Email Services
  4. Current Solutions and Situation
The Classic ASP had two types of email support with Windows:
  1. CDONTS (Colloborative Data Objects for NT Server)
  2. CDOSYS (Starting with Windows XP).
When Managed Realm took control, these components were still used under a friendly cover namespaces like System.Web.Mail. The COM exceptions were taking ugly faces in some occasions and hence we had troubleshooting websites like http://www.systemwebmail.com/. However, if you are lucky to have started using .NET Framework 2.0, you are at relatively safe hands with System.Net.Mail (http://www.systemnetmail.com/) which does not get hands very much dirty with COM Interop since it is a complete rewrite of the SMTP functionality.

The ASPEmail

Although for most cases, we can live with the base class provided libraries there are occasions like newsletter mailing and similar SMTP-heavy applications which would bog down the server with overwhelming number of requests for emails. Here comes Persits ASPEmail (which is a lucid COM Component) that can help us with.

Features of ASPEmail from Persits

Although it is a COM component, you can use it with greater degree of ease in your ASP.NET applications through COM Interop. The site itself now says as "Free Mail Component for ASP and ASP.NET"

In one of my previous organizations, I had to have a newsletter component written. While the engine was ready, the significant problem we faced during the actual customer deployment was performance. After a bit of research, we moved the email setup to Persits ASPEmail. The Premium Version supports Message Queuing. This works in the free version also but as a trial feature and stops after the trial ends.

Support for Digitally Signed Messages. Note: However you need to use the sister component called ASPEncrypt to use this functionality and also purchasing a digital certificate from a certificate authority like Verisign or Thawte

Transparent and simple use in any type of application like Windows Service, Desktop Applications or Websites.

While preparing this note, I have also just observed from the vendor website that they have released the 64 bit version of the product now. However note that there may not be trial version for this product.

URLs of Interest
  1. Persits ASPEmail Primary URL: http://www.aspemail.com/
  2. ASPEncrypt (for Digitally Signed Email Messages): http://www.aspencrypt.com/
Summary
I am sure this would be a quick eye-opener note for developers who are looking at SMTP components that need to be be aggressive in the applications of type NewsLetters and High Traffic websites where any burden on the CPU for a single operation is not tolerable.

Comments

Popular posts from this blog

Google NCR

Google NCRMost of you would be knowing about this trick in navigating to Google generic website. But I just came to know only a few days before and hence thought I would share the information with others too.
Whenever you type http://www.google.com/, Google automatically tries to redirect you to your country-specific website. For me, it always redirects to http://www.google.co.in/ (Google India). But when we specifically want to navigate to Google Generic website for some reason, there are two ways to accomplish the same.Click the 'Go to Google.com' link at the bottom of the webpage that is displayed from http://www.google.co.in/To prevent this redundant click, you can opt to type http://www.google.com/ncr/ which would prevent the redirect from happening. The NCR stands for No Country Redirect. There is a brief discussion about this NCR over this forum.You may also like to check out Google help documentation regarding the country redirections from here.

Elegant 'MailTo' Replacement

Elegant 'MailTo' Replacement

MailTo tags have become a bane to all websites since spammers run spam robots which crawl the web to capture the email addresses, add to their catalogs and send spams to them. I just thought of sharing with others a simple JavaScript function which would trigger open the default email client instead of having mailto: embedded in the HTML Page.

Just have the following function included in your webpage

<script language='Javascript'>
function WriteMailTo(user,domain)
{
location.replace ('mailto:'+user+'@'+domain);
}
</script>

And whereever you want to invoke the mailto, just called WriteMailTo('user','example.com') and the user's default email client should be launching (if configured) without any hassles.

Contacts import utility from Web2Project to Addressbook

I have been using Web2Project for planning my personal and professional tasks for a few years now. Now I have bifurcated the tools into the following:

Project PierAddress Book The only issue I had was to import my addressbook from Web2Project to AB. PP is a different animal. It does not serve as a comprehensive candidate for addressbook and hence I needed this bifurcation. 
I wrote up a following simple script to import the contacts to AB. The pre-requisite for this script is to hop on to PhpMyAdmin, export the contacts as a PHP array and then  modify the path in our import script to whatever you downloaded from PhpMyAdmin.
Our import script would explode the entries as SQL scripts into the browser window. Copy them and execute into PhpMyAdmin AB database to have the contacts imported.

Script URL: https://gist.github.com/lavanyadeepak/5177500#file-import-php