Nidelven IT - All about Python, Zope & Plone - and Open Source!

Here you'll find issues related to our services. Mostly about Python, Zope and Plone, as well as hosting-related issues.

"Keeping IT real"






Older entries



Atom - Subscribe - Categories
Previous | Next

Products.RFC822AddressFieldValidator - A sparse beginning

So I released a new product a little while ago, Products.RFC822AddressFieldValidator. It's a validator that checks if the entered data corresponds to a proper mail address field such as To, CC etc. of an email message.

It is very simple at the moment, taking a comma as an address separator and checks if @ is in every of those adresses. I was thinking of using the builtin Archetypes/Plone email validator to check each email address, but wasn't sure exactly what constituted validation as I'm not sure what is returned on valid result (one would think it is something that can evaluate to True..). Which is kind of funny when I think about it.

Anyway, here is the product

http://plone.org/products/Products.RFC822AddressFieldValidat...

It'll be a dependency with Products.MegamanicEditContentTypes which has an email message class for sending out messages from within Plone.

[Later: updated to fix feed errors]

[Permalink] [By morphex] [Python, Zope, Plone - and anything loosely related to that (Atom feed)] [2012 25 Apr 12:07 GMT+2]

Add comment (text format)

Passphrase

A passphrase is required to comment on this weblog. It is required to make sure that bots aren't doing automatic spamming. It is: nit is the best!.

Title

Name

Email

Comment