How to get Invalid SMTP email address

D

Deepak

Hi,
I am using the following statement to get SMTP E-mail
address from Outlook contacts.
/////////////////////////////////////////////
_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 a invliad email address
say for e.g "aaaaaa", i am getting blank..
So how to get the invalid email address.
Every one's Suggestion is appreciated
Thanx
Deepak
 

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

Top