Extract email address

How can I extract an email address that is located in the body of an email message?
[83 byte] By [comart] at [2007-11-15 17:37:56]
# 1 Re: Extract email address
u need to program a string search function just like InStr, but can accept wildcard.

HTH

cksiow
http://vblib.virtualave.net - share our codes
cksiow at 2007-11-10 0:43:55 >
# 2 Re: Extract email address
Hi, this is actually easy, but there are some things to consider. First, if you want to get the E-mail address in the message header, it is easier and more reliable than looking in the body of the message. Second, the message may be in HTML or plain text, so you will have to deal with both, unless you are parsing data sent through a form that you control. Anyway, to get the address in the message header, use InStr to find the position of "From: ". Then get the first vbCrLf after that. The data in between is the address. However, if there is a name AND an E-mail address, the address part will be inside "<>" characters. To search the body of a message, you can look for "@", and then find the first space or non alpha-numeric character (as in ":" and a quote mark in the case of HTML encoding) on either side.
WizBang at 2007-11-10 0:44:55 >
# 3 Re: Extract email address
Is there any way to find the email addressess on a specific domain...I have seen some products on net , they are listing numerous mail ids from the selected domain in millions ...Is there any way to search for the mail list in a particlar domain...how can i get the email ids present in a domain.

Sincerely,
Ramees.
khan_kal at 2007-11-10 0:45:56 >