最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
第二部分,公共属性
时间:2022-07-02 12:02:50 编辑:袖梨 来源:一聚教程网
接上
--------------------------------------
///
/// 最多收件人数量
///
public int RecipientMaxNum
{
set
{
recipientmaxnum = value;
}
}
///
/// 邮件服务器域名和验证信息
/// 形如:"user:[email protected]:25",也可省略次要信息。如"user:[email protected]"或"www.server.com"
///
public string MailDomain
{
set
{
string maidomain=value.Trim();
int tempint;
if(maidomain!="")
{
tempint=maidomain.IndexOf("@");
if(tempint!=-1)
{
string str=maidomain.Substring(0,tempint);
MailServerUserName=str.Substring(0,str.IndexOf(":"));
MailServerPass=str.Substring(str.IndexOf(":")+1,str.Length-str.IndexOf(":")-1);
--------------------------------------
///
/// 最多收件人数量
///
public int RecipientMaxNum
{
set
{
recipientmaxnum = value;
}
}
///
/// 邮件服务器域名和验证信息
/// 形如:"user:[email protected]:25",也可省略次要信息。如"user:[email protected]"或"www.server.com"
///
public string MailDomain
{
set
{
string maidomain=value.Trim();
int tempint;
if(maidomain!="")
{
tempint=maidomain.IndexOf("@");
if(tempint!=-1)
{
string str=maidomain.Substring(0,tempint);
MailServerUserName=str.Substring(0,str.IndexOf(":"));
MailServerPass=str.Substring(str.IndexOf(":")+1,str.Length-str.IndexOf(":")-1);
相关文章
- jm漫画网页版-在线畅读jm网页版 02-05
- 仙境传说重生兑换码大全-公测礼包码全收录 02-05
- 酷漫屋下拉式免费漫画在线阅读最新版本 - 酷漫屋下拉式免费漫画下载安装入口 02-05
- jm网页版官网入口-jm网页漫画官网大全 02-05
- 我的订单查询指南-本人订单查看全攻略 02-05
- 差差漫画-免费在线畅读全文 02-05