怎么我加附件后,出错的呢?
for (int i=0;i<Attachments.Length;i++)
{
MailAttachment myAttachment = new System.Web.Mail.MailAttachment(Attachments[i]);
myMail.Attachments.Add(myAttachment);
}
楼主有这样的问题的么
for (int i=0;i<Attachments.Length;i++)
{
MailAttachment myAttachment = new System.Web.Mail.MailAttachment(Attachments[i]);
myMail.Attachments.Add(myAttachment);
}
楼主有这样的问题的么