EmailDatabaseObject

rwm75

New member
Local time
Today, 01:40
Joined
Dec 29, 2015
Messages
6
Hi Peeps, does anyone know how to add multiple email addresses with the EmailDatabaseObject Expression Builder? I am taking email addresses from text boxes on a form and managing to get one address in the TO, CC and BCC fields but I cant workout who to get additional addresses added.
Hope someone can help,
Cheers :)
 
hi m8, yeah I tried that before and various was of putting the separator ; in with "" or () or the whole line in () and & with "" 's lol - nae joy so far - thanks though, wish it would've worked :)
 
The final string should be
Code:
"jon@comp1.com; jo2@comp2.com; fred@comp3.com"
Assuming you have semi-colon as your local separator .

You would create this using
Code:
strSeparator = ";"
strEmailTo = "jon@comp1.com" & strSeparator & "next email address in here" etc etc

You will probably need a loop to construct it if you have a variable number of email addresses
 
Last edited:
hi minty, thanks for the bit of code, I've searched for a while trying to solve this and going to have to bite the bullet and re-learn what I've forgotten - I'm sure I will get back to your bit of code soon lol, cheers again m8.
 

Users who are viewing this thread

Back
Top Bottom