Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7443575
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:21:04+00:00 2026-05-29T11:21:04+00:00

In lotusscript I’m sending automated emails. I’d like to be able to detect the

  • 0

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?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T11:21:05+00:00Added an answer on May 29, 2026 at 11:21 am

    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” <joe@acme.com>), then use you should use the Evaluate function to execute @Name([Address821] in order to strip it down to the RFC821 (joe@acme.com) format. Then check the the domain portion (after the @) matches one of the valid SMTP domains that your server is configured to accept. If it is not one of your domains, than you have done as much as you can do, so assume it is valid and cross your fingers. If it is one of your domains, parse out the portion that comes before the ‘@’ and do another lookup into $Users.

    Note that depending on your server’s settings for address resolution, some of this may not be necessary.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to write a LotusScript to control a motor. The script I
Can we use a lotusscript function as a document selection routine inside view selection
I'm using COM in LotusScript (Lotus Notes) to make Excel print several sheets in
Does anybody know a way to get the behaviour of LotusScript print in a
I am running a Lotusscript Agent on Before mail arrives. I need it to
Trying to add a custom header item to a Lotus Notes email item, from
I want to hide the grand total row in views using @formula or lotusscript.
Now CAPICOM is deprecated, and MSDN recommends to use .net classes from System.Security.Cryptography. But
I'm doing some feasability for an XPages application. One of the aspects is checking
My problem : I can't Full text search a view with the syntax [field_name]

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.