webMail 对象中电子邮件中的多个收件人? [英] multiple recipients in email in the webMail object?

查看:42
本文介绍了webMail 对象中电子邮件中的多个收件人?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 webMatrix WebMail 对象添加多个收件人,即在 TO: 字段中添加多个电子邮件?我一直在创建一个字符串,该字符串将两封电子邮件与它们之间的逗号或分号组合在一起.

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.

推荐答案

你就是这么做的,在 'to' 属性中用分号分隔多个收件人:

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

这篇关于webMail 对象中电子邮件中的多个收件人?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆