C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

email parcer

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
cracker
Guest





PostPosted: Fri Feb 27, 2004 4:18 am    Post subject: email parcer Reply with quote



hi thr ,
i want to make an email parcer which checks each char like '@', '.' ,etc
if it is not proper it gives an error msg.
can any one help me out.




Back to top
Sharad Kala
Guest





PostPosted: Fri Feb 27, 2004 8:31 am    Post subject: Re: email parcer Reply with quote




"cracker" <milindkenjale83 (AT) hotmail (DOT) com> wrote

Quote:
hi thr ,
i want to make an email parcer which checks each char like '@', '.' ,etc
if it is not proper it gives an error msg.
can any one help me out.

Sure.
0. Come up with an algorithm about what all checks would you like to have.
1. Code it (in C++ consider using std::string)
2. Post any other problems/doubts you have. Someone for sure will help you here.

Best wishes,
Sharad



Back to top
Evan Carew
Guest





PostPosted: Fri Feb 27, 2004 5:53 pm    Post subject: Re: email parcer Reply with quote



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sharad,

You might want to look at the perl module called "MailTools" which has a
sub module called Mail::Address. This module has several functions for
slicing and dicing RFC822 compliant addresses found in email messages.

Since perl can be bound into C++, this subject isn't quite off topic.
Also note that on the CPAN site, most issues to do with managing
internet applications or systems admin have already been dealt with on
the CPAN site. Therefore, when considering such a task, binding in a
little perl should be a consideration.

Evan

Sharad Kala wrote:
Quote:
"cracker" <milindkenjale83 (AT) hotmail (DOT) com> wrote in message
news:c1mgfb$1jtelk$1 (AT) ID-221731 (DOT) news.uni-berlin.de...

hi thr ,
i want to make an email parcer which checks each char like '@', '.' ,etc
if it is not proper it gives an error msg.
can any one help me out.

-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAP4Qeoo/Prlj9GScRAiCJAJ913f/o/Ae7PjYJBMAVGcKcE1FPAwCeJ+WV
yy+AIrV6mgWl+3iKxLX8qIc=
=btnC
-----END PGP SIGNATURE-----

Back to top
Sharad Kala
Guest





PostPosted: Sat Feb 28, 2004 9:22 am    Post subject: Re: email parcer Reply with quote


"Evan Carew" <tempcarew (AT) pobox (DOT) com> wrote

Quote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sharad,

You might want to look at the perl module called "MailTools" which has a
sub module called Mail::Address. This module has several functions for
slicing and dicing RFC822 compliant addresses found in email messages.

Since perl can be bound into C++, this subject isn't quite off topic.
Also note that on the CPAN site, most issues to do with managing
internet applications or systems admin have already been dealt with on
the CPAN site. Therefore, when considering such a task, binding in a
little perl should be a consideration.

When have I said that it's off-topic.
You talk of Perl packages etc, there might be libraries in C++ doing already
what he wants.
So the question of binding etc does not arise.
Point was for OP to understand the problem himself, try out some code and then
ask for help if there were problems.

-Sharad



Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.