Lotus Notes Error No Names Found To Send Mail To
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Detecting “No names found to send mail to.” before trying to send up vote 0 http://www.ibm.com/support/knowledgecenter/SSKTWP_8.5.3/com.ibm.notes85.client.doc/err_no_names_found_r.html down vote favorite In lotusscript I'm sending automated emails. I'd like to be able to detect the above error (when the user I'm sending an email to doesn't exist, or is blank etc.) without just resorting to error handling. How can I check I've got a valid "To" field before sending the memo? email error-handling lotus-notes lotusscript share|improve this question asked Feb 10 '12 at 8:07 George Duckett 21.2k462128 add a http://stackoverflow.com/questions/9224608/detecting-no-names-found-to-send-mail-to-before-trying-to-send comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted Take each address and use it to do a lookup in the $Users view of all your Domino Directories. In Domino 8 or above, use the NotesDirectory class. In earlier versions, you will have to use the NotesDatabase class for each directory. If you get a hit, you have a valid address. If you don't get a hit, you may still have a valid address. You can use the Evaluate function to execute @ValidateInternetAddress with the [Address821] argument to determine if it looks like a valid internet address. If it is, you can just assume it is valid, or you can do further testing. For further testing, if the address list might actually contain RFC822 formatted addresses (e.g., "joe user"
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time https://www.experts-exchange.com/questions/20881150/Automation-No-names-found-to-send-mail-to.html Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Automation: No names found to send mail to. Want to Advertise Here? Solved Automation: No names found to send mail to. Posted on 2004-02-11 Lotus IBM 1 Verified Solution 7 Comments 959 Views Last Modified: 2013-12-18 I lotus notes use a VB app to sent email through LotusNotes 5. The app worked ok until couple of days ago when the server group had changed the layout template. Now, I get this error: No names found to send mail to. Thouth my app, I populate all the necessary fields such as SendTo, Subject, Body. With the new layout, the SendTo field is not populated, but Subject and Body lotus notes error are. So, when the my app tries to send the message, the error pops up because there is no SendTo specified. Are there any alternative field names to "SendTo" in different layouts? 0 Question by:rtarna Facebook Twitter LinkedIn Google LVL 31 Best Solution byqwaletee Starting with teh R5 tenplate, the SendTo field is hidden from the Notes client, to allow the template to do some nice layout stuff around it while keeping the web version and preview pane versions cleaner. Go to Solution 7 Comments LVL 24 Overall: Level 24 Lotus IBM 23 Message Expert Comment by:HemanthaKumar2004-02-11 >server group had changed the layout template What does that mean ?? Any changes done to server ? Upgrade ? NAB update ? or something else The error says that it could not find any value in sendto field .. make sure it is not null and also see the server is reachable ! ~Hemanth 0 Message Author Comment by:rtarna2004-02-11 No, the value of the field is deffinitely not null. The LotusNotes layout that you'd see on the screen, such as the way the inbox looks or when you go to New Memo screen what it looks like. This layout