Link to home
Start Free TrialLog in
Avatar of spoowiz
spoowizFlag for United States of America

asked on

How can I can to multiple recipients using "mailto:"

I'm using the code below to quickly send an email. I can send to one "to" and one "cc" recipient using this code.
Is there a quick way to modify this so I can send to more than one "to" and more than one "cc" recipients?
I've already tried putting ";" and "," between email addresses and that won't work.
Thanks

    eStr = "mailto:" & clt!Email
    If clt!email2 <> "" Then eStr = eStr & "?cc=" & clt!email2
    Call ShellExecute(hwnd, "open", eStr, "", "", 0)
ASKER CERTIFIED SOLUTION
Avatar of STStheBest
STStheBest

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of spoowiz

ASKER

it worked. when i add the 2nd email, outlook express takes a quite a bit longer to create the new mail msg. is that the same with you?
Avatar of STStheBest
STStheBest

quite a bit longer = ???
It does make a difference, but it isn't even a second when I try it.
Avatar of spoowiz

ASKER

mine takes about 5 to 10 seconds
anyways, thanks for your response