A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Error on sending email!!



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2  
Old December 12th 07, 03:07 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Error on sending email!!

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

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"vonClausowitz" wrote in message ...
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

 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error On Sending Email Dell Boy Outlook Express 11 May 26th 07 05:52 PM
Keep getting ERROR when sending Email!!! beverly anderson Outlook Express 2 May 12th 07 05:15 PM
error sending email lyndamac Outlook - General Queries 0 March 28th 07 11:42 AM
Sending email error. Chris Outlook - General Queries 0 December 5th 06 10:33 PM
Sending email with attachment produces error message but email is OW Outlook Express 3 June 24th 06 08:59 PM


All times are GMT +1. The time now is 03:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.