multiple recipients in email in the webMail object?
Asked Answered
R

1

0

How do you add multiple receipients, meaning more than one email in the TO: field using the webMatrix WebMail object? I've messed around with creating a string that combines two emails with a comma or semicolon between them.

Rainwater answered 15/9, 2011 at 14:33 Comment(1)
already tried to separate two email addresses with comma or semicolon or whatsoever and check how it works?Stomatal
M
2

you do just that, separate multiple recipients in the 'to' property with a semicolon:

http://msdn.microsoft.com/en-us/library/system.web.helpers.webmail.send(v=vs.99).aspx

Microminiaturization answered 15/9, 2011 at 14:40 Comment(2)
I think this is the answer, but will have to research further at some distant time in the future.Rainwater
Oddly, we've had commas work where semicolons failed. Is it dependent on the SMTP on the server?Protest

© 2022 - 2024 — McMap. All rights reserved.