Author: mycwcgr | Posted on: 10/8/2009 8:00:59 PM | Views : 235

I use the following code to send email, no matter I click Botton1 or Botton2, I can only receive a email
I find I can't receive email if I use the email address fromAnother = "anotherFrom@big.com"? Why?
Does it mean that I must use the email addess which host is SmtpClient's host? Thanks!
 
  
----------------------------------------Default.aspx-----------------------------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Net.Mail;
using CuiWei.Utility;
public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
    }
    private string from = "Go to the complete details ...