Invalid email addresses

Joined
Sep 28, 2005
Messages
1
Reaction score
0
Hi,
I am using the following statement to get SMTP E-mail address from Outlook contacts.

Code:
_ContactItemPtr pContactItem;
_bstr_t=bstrTemp;
bstrTemp = pContactItem->Email1Address;

It works fine, if i enter a valid SMTP address say for e.g (e-mail address removed). The problem is, if I enter an invalid email address say for e.g "aaaaaa", I am getting an empty string..
Does anyone know if there's a good way to get this invalid email address. Any help would be greatly appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top