Regex for Email Address

Tech-Archive recommends: Fix windows errors by optimizing your registry



Yeah, I know this is a MS forum, but I'm hoping that the gods of Internet
Mail may know something:

Is no problem for a SMTP address. But we get data from clients that can
either be an SMTP address or a Lotus Notes address. For example, we get
*valid* Lotus Notes email addresses like these:

ThisGuy/ThisServer/ThisRole/IBM@IBMUS
ThatGuy/ThatCountry/IBM@IBMAT@IBMDE@IBMUS
OtherGuy/SomeUniversity/IBM@LOTUS
DifferentGuy/SomeCompany/IBM@LOTUS@IBMUS@IBMDE

I'm trying to work out a Regex that can validate these, but I cannot find a
specification. SMTP mail addresses are easy. I already know how they have
to be formatted. But I'm having trouble deriving the specs for a Lotus
Notes email addx.

Any comments would be gratefully appreciated.

--
Peace & happy computing,

Mike Labosh, MCSD

"When you kill a man, you're a murderer.
Kill many, and you're a conquerer.
Kill them all and you're a god." -- Dave Mustane


.



Relevant Pages

  • Re: turing of NDRs
    ... > I am pretty new to Microsoft SMTP. ... I have a server with MS SMTP service ... > internal lotus notes mail server. ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: Exchange 2003 SMTP
    ... I'm not using any smarthosting and I didn't think about using the BE. ... Our Peoplesoft program sends out HR notifications through SMTP. ... >>used the Lotus Notes SMTP, ...
    (microsoft.public.exchange.misc)
  • Re: turing of NDRs
    ... Its a transparent SMTP Proxy which has quite big advantages such as saving ... I have a server with MS SMTP service ... > internal lotus notes mail server. ... > then forwards to lotus notes server which then looks at the mail ...
    (microsoft.public.inetserver.iis.smtp_nntp)
  • Re: PHP SMTP Configuration (Lotus Domino)
    ... I think the handling from Lotus Notes might be ... I would be pretty sure that it uses SMTP. ... If it uses any of them, use a PHP class. ... Jochen Daum - Cabletalk Group Ltd. ...
    (comp.lang.php)