Lotus Notes Email to Multiple Recipients

KeithIT

Registered User.
Local time
Today, 00:22
Joined
Dec 20, 2004
Messages
133
I have a module of code that sets up a Lotus Notes email and brings the user to the notes email window. I have a form where a control calls the module. The module works just fine, except that i can't get the email addresses to show up in the To: field in lotus notes.

I have on the form a list box where user defined criteria show a list of specific names. The email addresses and names are all in columns in the list box, but the email address column is hidden, although it is the bound column of the box.

I would like to set up the code to cycle through the list box, pull all of the email addresses from the selected names, and put those email addresses into the To: field in lotus notes, separated by semi-colons like notes likes.

I'm not sure what to post here, so if anyone has any thoughts, I would really appreciate it. I currently have the control on the form looping through the box, pulling out the addresses and setting them up into a string, however when I call the module the string does not pass through to the module (unless of course the string is coming up blank... how can I check this?) so I get a blank lotus notes email, with no email addresses.

Thanks! :)
 
Okay, solved the problem. Here's how I did it:

Created a concatenated string of the values in the list box separated by commas, passed that string to the SendTo line of the email procedure.

Simple right? :)

___EDIT____
Then again... In order to get Lotus Notes to send an email to multiple recipients, you need to first dimension an array and then redim according to the number of recipients you want. Search this database for more on this as I am posting the code in the repository.
 
Last edited:

Users who are viewing this thread

Back
Top Bottom