Ian Stallings: web log

official chicken™

Latest OpenSmtp.Net Release

So last night I wrapped up the latest version [01.09.6] of OpenSmtp.Net (http://sourceforge.net/projects/opensmtp-net/) and plan to release it sometime tomorrow after I update the help documents and build the installer version. Most of the work on this version was related to bug fixes due to MIME content-type errors, quoted printabe encoding, and email address validation. New features include support for SMTP pipelining and the ability to limit to log file size, to avoid those nasty situations where a log file can kill a machine by using up all available disk space.

Open source development on OpenSmtp.Net is really working out as far as bug fixes and feed back is concerned. I have gotten a lot of support lately from a lot of people around the world. For instance, someone spotted and fixed the MIME content-type error and sent me the changes, I just had to merge the fixes into the current code base, after looking them over. The encoding problem was spotted by a three separate developers from around the world and they all offered feedback and bug fixes. The email address validation was a C# port of Jeffrey Friedl's PERL regex, which is basically the end all be all of email address parsing. Before I implemented the port I contacted Mr. Friedl and asked for his permission, since he was the original copyright owner and my work would simply be a derivative of his. He responded that I could use it and thanked me for asking him first. In my mind that is how open source development is supposed to work. We all work together to achieve a common goal and we all reap the rewards. In this case we get to use a library that is superior to the built in System.Web.Mail classes and can compete with some commercial products in terms of funtionality.

Most of my time from here forth will be focused on not only supporting the current version but beefing up the documentation, help files, and examples. I find that our lack of docs and help might leave some developers out and I have never subscribed to the "it should be hard" mentality that the open source community is notorious for. I want everyone to use this library, plain and simple. Not just those that know how to compile from source or debug a C# error.

After that we have some big changes planned. Jason Kirkpatrick is currently working on a design to incorporate POP3 into the current code base. I think this will make our component more attractive to developers, allowing both sending and receiving of mail and a local mail store. This project will be called Arrowana. An Arrowana, also called a Dragon Fish, represents power and is supposed to bring people good fortune. The main reasons for the name change are:

A. This means a drastic change to the code base and the new version will be a serious split from the original. Basically it's a new project. 
B. The name OpenSmtp was causing confusion with another project named OpenSmtp associated with Qmail.

And that''s it for this week. I hope to write later about my ordeal with quoted printable encoding and show some good use of bit shifting and bitwise operations.

Comments

Scott Watermasysk said:

Hi Ian,

Please give me a ping when you post your newest version.

While I am at it (and too lazy to look myself), does your component support authenticated requests?

Thanks,
Scott
# March 5, 2003 9:47 AM

Ian Stallings said:

Yes, the component supports basic authentication against SMTP servers (All SMTP servers support this type of authentication). In the future I might add some more advanced AUTH mechanisms depending on the requests I get.

I will let you know when I release the latest version. It would have been today but I was having some computer problems this morning (my optical mouse went dead.. doh!).
# March 5, 2003 10:25 AM

Dolphine said:

But it seems the newst version doesnot support Chinese, the username and the attachment filename become wrong code,not Chinese!
# November 16, 2003 9:49 AM

Ian Stallings said:

We are working on this. The new version will have better support for foreign character sets.
# November 17, 2003 9:47 AM

Paul Waldschmidt said:

Ian,

I have used your component extensively and find it quite useful. One thing that is troublesome however. The EmailAddress.IsValid property always return false no matter what is entered.

For instance:
blahasdf@ (returns false)
blah@blah.com (returns false)
paul@waldschmidt.com (returns false)

Can this be fixed?
# December 1, 2003 12:38 PM

Ian Stallings said:

Yes you have to set a flag in the smtpconfig file to true like this -

SmtpConfig.VerifyAddresses = true;

Please contact me at jovian_moon@hotmail.com if you have further questions.


And thanks for using opensmtp.net!

# December 1, 2003 1:45 PM

Ian Stallings said:

Oh by the way, I added this flag because the email address validation can be quite process intensive. Please keep this in mind when you use validation.
# December 1, 2003 1:46 PM

lwh said:

please tell me why the smtp can't send the other language?
# August 4, 2004 7:28 AM
Leave a Comment

(required) 

(required) 

(optional)

(required)