怎么实现不同from的邮件发送。
普通的邮件发送以下可以实现:
MailMessage mail = new MailMessage();
    mail.To = strEmail;
    mail.From = "[email protected]";
    mail.Subject = EmailSubject;
    mail.Body = EmailBody;
    mail.BodyFormat=MailFormat.Html;
    mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); //basic authentication
    mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "[email protected]"); //set your username here
    mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "1234"); //set your password here
    SmtpMail.SmtpServer = "mx1.ourhost.cn";  //your real server goes here
    SmtpMail.Send(mail);通过以上可以发送邮件,但如果from不是Smtp的邮件地址就不能无法发送(这里只能是[email protected])。
环境是.net 1.1 有没有其他的办法实现不同from发送邮件。