VBA Outlook Email Failing: "Outlook does not recognize one or more names"

I use VBA code to send emails from within Microsoft Project 2010 Standard to notify task owners of task status.  This code has been working fine until the last couple of weeks.  Now I get the error "Outlook does not recognize one or more names". 
The VBA code sends email to each addressees internet address.  I am referencing the Microsoft Outlook 14.0 Object Library.
I deleted the "suggested contacts" entries in my address book to no avail. 
Below is the key snipit of code I am using.  I get the error when the ".Send" line is executed.
When I check OutMail.To, .CC, etc everything looks fine.
Any suggestions would be greatly appreciated.
Dim OutApp As Object
    Dim OutMail As Object
    Set OutApp = CreateObject("Outlook.Application")
    Set OutMail = OutApp.CreateItem(0)
    On Error GoTo BadOutlookMail
   ' Change the mail address and subject in the macro before you run it.
    With OutMail
        .To = vTo
        .CC = vCC
        .BCC = vBCC
        .Subject = strSubject
        .Body = strBodyText
    End With

Hi,
I'm glad to hear your problem has been resolved by yourself, I hope this thread will hope other users who may come up against the same problem.
Thank you for sharing your experience here with us.
Regards,
Melon Chen
TechNet Community Support

Similar Messages

  • LC ES4 form in Adobe Reader DC: "MS Office Outlook does not recognize ","...*

    I have a form created in Adobe Live Cycle Designer ES4 with extended rights leveraged in Acrobat Pro 11. The form uses an array to store a number of e-mail addresses. When a user selects a name in another field the e-mail address is ‘subtracted’ from the array and the e-mail is created so that it is sent ‘To’ that individual and cc’d to the remainder of the e-mail addresses in the array. The array format is var ListAddr = new Array("[email protected]", "[email protected]", [email protected])
    The whole thing works very well so long as Adobe Reader 11 is used: e-mail addresses appear in Outlook with a semi-colon between the addresses. The e-mail clients used by those completing the form are either Outlook 2007 or Outlook 2010.
    Eventually users will migrate to Adobe Reader DC so I have been testing the form in Reader DC in advance and am met with the message:
    “Microsoft Office Outlook does not recognize “,”…”
    A Google search revealed that this issue can be rectified by going to Outlook Tools -> Options -> Preferences -> E-mail options -> Advanced e-mail options and checking the box for “Allow comma as address separator”. Unfortunately doing this makes no difference. The message still appears.
    This tends to point the finger at Acrobat Reader DC. Has something changed in how Reader DC handles JavaScript? Do I need Acrobat DC rather than Acrobat Pro 11 to keep my form working? Has anyone any ideas why this might happen?

    The problem only appears in versions newer than 9. It should definately be something that you could configure your way out of in the trust center, but I have tried "everything" and I am afraid it is not possible.
    Anybody who has a solution for this?

  • Microsoft Outlook does not recognize "@".

    A user with Outlook 2010 running on Office 365 has begun getting an error message whenever he replies to or forwards an email from Outlook.  
    The error message is:
    Microsoft Outlook does not recognize "@".
    He then must select a username from the Global Address Book.
    This does not happen when using the web interface.  It also does not happen if he clicks on the From button and selects himself as the sender.
    [Edit:]  Another detail:  If I look in the contact list for My Site, there is no entry for the user who is trying to send the email.  Perhaps that is why when he tries to send it does not "know"
    him?
    Does anyone have any idea what would cause this?
    Micah

    Hello Micah,
    I apologize for posting the wrong KB link! I meant to give you this one (http://support.microsoft.com/kb/2429946/en-us), somehow, copied the wrong one. Sorry for the mistake.
    By the way, have you tried to input the full email address ([email protected]) manually while replying or forwarding? If that works without using Outlook Auto-Complete, then it could be an Auto-Complete cache issue.
    Would suggest you to clean Auto-Complete cache on that PC then check behavior:
    http://support.microsoft.com/kb/287623/en-us
    For the download OAB issue, it's more like an issue on Exchange Online server side, not Outlook Client. Please first follow the troubleshooting steps listed in this article (http://support.microsoft.com/kb/2429946/en-us).
    If the issue is not resolved, I would suggest you to seek workaround in Office 365 community:
    http://community.office365.com/en-us/f/default.aspx 
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • "Check Names: Microsoft Outlook does not recognize '1. double click the attachment'" submit error

    I have seen this question/issue on multiple forums and nobody seems to have an answer/fix yet.  I included an e-mail submit button for my form, and when I practice submitting, everything sends fine.  However, if I distribute the form (to allow for tracking, etc.) I get an error pop-up window that reads "Check names"  "Microsoft Outlook does not recognize '1. double click the attachment'".  What I mostly don't understand is "1. double click the attachment" is part of the directions/content in the e-mail after they actually, successfully submit the form.  Why is the content auto-populating as part of the mailing address??  After you "Show More Names" and search for the correct recipient(s), you have the same error pop-up again with the 2nd step that's show in the content of the e-mail: "2. Acrobat will prompt you to select a responses file", until you select the recipients again by clicking "show more names".  Then the e-mail populates, with "Completed Form&body=Instructions to add this form to a responses file: [email protected]?subject=Submitting" as a recipient, as well as the 2 recipients you had to search for.
    Does anybody know why this happens and how to fix it!?

    We are having the same issue of trying to send a Shared Review from Adobe Pro XI and getting a error. We are currently using Outlook 2010. Hope someone from Adobe support can answer this issue and other Shared Review issues that are related in nature.

  • Shared Review - Microsoft Outlook does not recognize recipients

    Hello!
    I am using Adobe Acrobot 9 Pro to try for a Shared Review of a document. I get as far as selecting people to send the document to. I click the "To" button which then goes into my companys Outlook contacts, and then after selecting a name I get the following error:
    "Microsoft Outlook does not recognize "Inc./ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recpients/cn=cbuttars".
    I know the cbuttars at the end of the error is the username I am sending the review to.
    Does anyone know how to get past this error? Google was not very helpful in this situation.
    Thank You!

    We are having the same issue of trying to send a Shared Review from Adobe Pro XI and getting a error. We are currently using Outlook 2010. Hope someone from Adobe support can answer this issue and other Shared Review issues that are related in nature.

  • Changed my Apple ID email, but ICloud does not recognize my new login, only my old one (which is now non-existent) HELP!

    Changed my Apple ID email, but ICloud does not recognize my new login, only my old one (which is now non-existent) and requires the password to do anything. Everytime I go onto the ICloud  page it shows my old email and requires the password, but I can't exactly type in a password because that won't work. I can't find a way to change my email or delete ICloud.

    If the old ID is an earlier version of your current ID, do the following:
    Make sure you are signed into iMessage and FaceTime with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iDevice and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then go to Settings>iCloud, tap Sign Out (or Delete Account if you are not running iOS 8) and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your device).

  • TS3276 How do I open Microsoft word documents in a Email since Maverick does not recognize MS Word?

    How do I open a Microsoft Word cocument in a Email since I upgraded to Maverick. Maverick does not recognize MS Word, Excel and Power Point.

    MS Office 2008 and 2011 work fine in Mavericks. What version are you using? You can always use a program such as Open Office to open the docs.
    Pete

  • How do I get aperture to allow exports to two Facebook accounts. It allows 1 email address and does not recognize that there is another Facebook page attached.

    How do I get aperture to allow photo downloads from aperture to two facebook pages that are attached to my one email address.  I have icloud and photostream and I am not sure how to attach my second facebook page  so that I can download pics to that page.

    I did not know you could have the same email for two different FB accounts?
    I can only tell you that Aperture can upload to more than one account when they have different identifiers.
    Ernie

  • HT2305 Since updating my laptop from Windows Vista to Windows 7, my Ipod Shuffle, 3rd generation does not recognize last 3 playlist names; it calls them out as "playlist 3, playlist 4 -- even though in the panel the names are showing just fine. The music

    I have recently updated my laptop from Windows Vista to Windows 7. I have just added three new playlists to my Ipod Shuffle, 3rd generation. On the panel in ITunes in view on the computer, all looks fine and music plays. However, after syncing a million times, when clicking to "hear" the playlists, the voice will call out all the old playlists just fine - except for the 3 new ones I've added; it calls them out as "playlist 3, playlist 8, or "purchased". All software for the ITunes has been updated as of the moment. Why would switching from Vista to Windows 7 cause this frustrating issue? All help appreciated.

    From page 23 of your iPod's User Guide: http://manuals.info.apple.com/en_US/iPod_shuffle_3rdGen_UG.pdf
    If VoiceOver is disabled in iTunes, you hear an abbreviated menu of playlists in numbered order, but not by name (for example, “Playlist 1, Playlist 2,” and so on).
    So you'll want to make sure VoiceOver is enabled to correct this.
    B-rock

  • Buy Album Does Not Recognize One Song Already Purchased

    Many times an artist will release one or two tracks from an upcoming album. I will purchase that song from iTunes. Several weeks later the artist will release the entire album, which I then click on Buy Album. I am charged for the entire album, which includes the song I already purchased. So technically I'm paying for that one song twice.
    Is there anyway to avoid this? I know I can click on Buy for each song, but then if there is a special album only version of a song, I would miss out on that.

    You can see if the "Complete My Album" option appears for the album in question. That option will be under the Quick Links at the upper-right of the iTunes Store main page. If that option is not available for the album you want, then there's no way around the issue other than buying the tracks individually or buying the full album and accepting that you may get redundant tracks. The availability of the "Complete My Album" option is generally in the control of the record companies and some don't want to make that option available (just as back in the day when you bought a 45 with a popular single and then wanted the entire album you didn't get a credit for the single you'd already purchased).
    Regards.

  • Changed my email address, confirmed my password. The App Store still has old address and does not recognize my password.

    Changed my email address, confirmed my password. The App Store has old email address and does not recognize the password?

    Easy fix... it's a refresh issue. Sign out and back in with changed name.
    iOS: Changing the signed-in iTunes Store account
              http://support.apple.com/kb/HT1311

  • My internet accounts preference does not recognize that I have deleted an email address.  It wants to connect to deleted email to send out, HELP

    My email internet accounts does not recognize that I have deleted an gmail account.  It wants to connect before it sends a message.  How do I change this?  I thought I changed all my settings to reflect my new mail address - but I must have missed one.

    mikeyg0 wrote:
    I have deleted a email address that is connected to my apple account this has caused me some problems with icloud syncing etc.
    That was a bit of a bonehead move.  Did you actually change the email address associated with the Apple ID before deleting the email account?
    mikeyg0 wrote:
    ive set up a new emal address for my new mac.
    That's another bad idea.
    mikeyg0 wrote:
    i cant purchase any apps or mnusic etc for my iphone or ipad.
    Yeah, because the email associated with the Apple ID is deleted and the account is having issue.
    Stop using the new Apple ID.
    Log into the original Apple ID.  Change the email address associated with the Apple ID.
    It should then be possible to update the apps associated with the original Apple ID.

  • TS3988 I have no trouble with email but IPhoto will not recognize my server when I try to send a photo to a friend. Anyone else have this probelm ...a solution??? N

    I can email but IPhoto does not recognize my server to enable me to send email photos. Any advice?  N

    I've been having this problem too, but here's the catch: originally it was only with my dad, and only sometimes.  Now it's dad and husband, every time!  Pix go through, via imessage, to everyone else, and they go through to dad/husband if I "send as text" after it fails. 
    And the other annoying thing- the blue bar will run all the way, and it will say "delivered".  So I close out of imessage. When I reopen it again, the "delivered" has changed to "not delivered" with the red exclamation point.  I just googled "imessage not sending photos" and founds TONS of people with the same problem, but no solutions.  (I have rebooted phone, reset network settings, with no luck.  I even had to backup/delete/restore my whole phone the other day for a different reason, and hoped that would fix it, but now it won't send to my dad OR my husband (who is on not just the same carrier, but the same family plan as me)

  • Windows does not recognize my iphone name, but itunes does

    This is a reqpost of another forum on diff site, but is the exact same problem i have~
    After the IOS5 update~  and and updating two phones on same computer~
    I have windows 7 x64bit, and the problem is it does not recognize my iPhone's name anymore.. in itunes it shows the correct name but when ever i look at My Computer listed under portable devices the name is wrong instead of being Louie's iPhone it shows Kim's iPhone (My Fiancees iPhone).. i can still access it and get my pictures and stuff but the name of the device is just wrong.. so im hoping you guys know how to solve this problem.. this only started happening when i installed iOS 5...
    so to sum it up..
    iTunes... Louie's iPhone
    Windows... Kim's iPhone
    here are the things I already did but did not work...
    ... uninstalled everything apple, rebooted and reinstalled.
    ... restored my iPhone as new 3x and still nothing....
    I am at a lost here.. so please help me guys? i know you can solve this coz sinful has never failed me before

    In Windows 7, it is not possible to change the name by right-clicking and selecting properties! It doesn't work...
    The only solution that worked was to search the registry for the incorrect name and adjust it by hand, which strikes me as a pretty ****** solution! Better would be that the Apple USB driver would just use a neutral name like "iPhone". Which makes me wonder what would happen if two iPhones are connected at the same time: how can they be told apart in the "Computer" application?

  • Help...people picker control does not recognize outlook formated bulk users

    Hello,
    Currently out of the box people picker control provides a textbox, User validity icon and a find user book. If there are bulk of users from outlook and paste it, the SharePoint control does not recognize user and cant find bulk
    users in the find book directory all at once(need to find user details one at a time) , so I was told to hide the user directory icon and link. Will you please suggest me to on how to hide directory icon? is there a way using JavaScript or Jquery to hide?
    Otherwise if there is a way to directly transfer bulk of users from outlook into SharePoint people control works great.
    multiple users allowed in sharepoint people picker control however it does not support outlook format in SharePoint people picker.. such as
    'abc, xyz <a href="mailto:[email protected]>' ;  efg, pqr <">[email protected]>' ;  efg, pqr <[email protected]>
    Can anyone suggest me to hide the finder link & image? also to add bulk of users directly from outlook?
    Thanks

    Nobody has anwered. I have solution and done myself to hide and manage controls on SharePoint list. Key thing here is to map the jquery library correctly and specific version.
    Hope this helps at least others and can overcome difficulties I have undergone
    Here is the Javascript:
    <script type="text/javascript" src=".../jquery-1.3.2.min.js"></script>
    <script type="text/javascript">
    $(document).ready(function(){$('a').each(function(){if($(this).attr('title') == "Check Names")$(this).hide();});});
    </script>

Maybe you are looking for