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.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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