Error on sending email!!

V

vonClausowitz

Hi All,

We use a code that automatically sends a notification to a user when a
certain document arrived in our system.
Now we are having problems sending these emails since we have two
people with the same name in our Addressbook.

Set olMailItem = olInbox.Items.Add
olMailItem.To = sUser
olMailItem.Send

We have the users "Doe, J" and "Doe, J (ABC)"

Now outlook wants to know to which user we want to send the email and
the automatic notification code
stops and creates an error.

Is there some way (we already tried changing one of the names in the
Addressbook) we can solve this?

Marco
 
S

Sue Mosher [MVP-Outlook]

Try using the email address or Exchange alias instead of the name.
 

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