Sitemap

Amicuk Programming Answers

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

2015-10-11   Views:8

Advertisement

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".

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

The replay answer
Advertisement
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

Go to See the other 3 answers

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

Category:DefaultRelease time:2015-10-11Views:130

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".[More]

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

Category:DefaultRelease time:2015-10-11Views:130

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[More]

Microsoft Outlook does not recognize "@".

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

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

Category:DefaultRelease time:-0001-11-30Views:130

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 tr[More]

Shared Review - Microsoft Outlook does not recognize recipients

Category:DefaultRelease time:-0001-11-30Views:130

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[More]

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

Category:DefaultRelease time:-0001-11-30Views:130

I can email but IPhoto does not recognize my server to enable me to send email photos. Any advice?  NI'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 tim[More]

I just downloaded AOL Desktop 1.7 for Mac and I can't get my email to work. It welcomes me but I know I have new email but it doesn't recognize that I have ANY mail at all. HELPPPPPPPP Please

Category:DefaultRelease time:2015-10-11Views:130

i just downloaded AOL Desktop 1.7 for Mac and I can't get my email to work. It welcomes me but I know I have new email but it doesn't recognize that I have ANY mail at all. HELPPPPPPPP PleaseHey I've been all over and can't get any help. I'm well awa[More]

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

Category:DefaultRelease time:2015-10-11Views:130

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 c[More]

Send Email Fail... SOLVED! WVC80N

Category:DefaultRelease time:-0001-11-30Views:130

I bought this camera yesterday to monitor the entrance to my house, and in case anyone decided they wanted to break in and take anything, I would have them caught on video.  All I wanted this camera for was so that I could monitor my house from the r[More]

Auto-Setup Emails Fail with kGotAuthenticationFailure

Category:DefaultRelease time:-0001-11-30Views:130

If I set up my people with a shortname of "first.last", the auto-setup email fails to work when they click the setup button with "kGotAuthenticationFailure." I do the dot in the shortname to facilitate more organized email addresses. I[More]

Form email fails if SSESSION.kt_surname_usr contains two words????

Category:DefaultRelease time:-0001-11-30Views:130

This is a really strange one. We have a pretty standard insert form for an Event Booking System. Included in that booking form is an auto generated email using the 'Surname' of the logged in user {SESSION.kt_surname_usr} IF the user originally regist[More]

Hot
Hi  I am a voice administrator in my company I want to forward all of my calls to my Other location's number. Other location has only POTS line and to reach my extension user needs to go through Auto attendant menu. Is it possible to enter a digit pa [More]
Okay i have been using a windows computer for the past year and have a number backups for my Iphone 4 on it.. When i connected the iphone to my new macbook pro it asked if I wanted to update the firmware and I chose yes. When the whole thing was done [More]
Will this work: ----(Last summers Macbook) Mini-DVI port ----Apple Mini-DVI to DVI Adapter (http://store.apple.com/us/product/M9321G/B?mco=NTEwODYxMw) ----Dell G2410 24" Monitor (http://accessories.us.dell.com/sna/products/Monitors/productdetail.aspx [More]
We have a signed applet that accesses the file system. After installing 1.4.2_04 it produces this exception java.security.AccessControlException: access denied (java.io.FilePermission <<ALL FILES>> execute)      at java.security.AccessControlC [More]
Is anyone else finding Yahoo "push" email to be unreliable? I find when it works, it works well, and I get emails that I send from a home email server in less than 1 minute. However sometimes it seems to fail completely or take a very long time. [More]
Hi friends, Whenever we post the initial stock, through 561 movement type for some FI documents G/L view and entry view are not being generated, why? And Only inventory accounts are being updated and FI acconts are not updated, Why?Hi Pl check if "Ac [More]
Hi All, Does Alter User MAXL work for an external user? We use Alter User to add users to groups. This works fine for native users, say Alter user user1 add to group1 ; From the above statement it is not sure if user1 is a native or an external user. [More]
Hi all I have a little problem I wana get fixed...its a little bit long problem so better help me out with this: A swing application that has four textfield which accepts pure string and saves it to a database..theres a button when clicked will show [More]
I need to extract part of a pdf page. I know how to extract full page, but that is not what I want. I need to extract part of it, ideally, using the mouse to select some rectangular area, and export the selected part to either separate pdf page, or t [More]
I know there is quite a bit to be found on this topic but I am reading alot about using iPhoto and not FCE, so I thought I would ask. I often use these slide shows blown up and need the best quality. I do some for monitor viewing too. I tried importi [More]