How are you getting these email addresses? Do you have a list or do you retrieve it from the user input?
I have a list.
Instead of using window.open, you might want to consider using window.location.href. If you're not using an anchor tag, mailto: won't work.
Hope that helps,
I wasn't able to make that code work. I kept coming up with a syntax error.
But a friend of mine gave me the following cheat and it worked exactly how I needed:
Thank you so much, resdesign and Elaine, for your answers.
Glad you got it working!