میشه راجب این قسمت یه کم بیشتر توضیح بدین :
SmtpMail.SmtpServer = "p.com";
regMail.Fields.Add("http://schemas.microsoft.com/cdo/con...tpauthenticate", "1"); //basic authentication
regMail.Fields.Add("http://schemas.microsoft.com/cdo/con...n/sendusername", "contact@p.com"); //set your username here ""
regMail.Fields.Add("http://schemas.microsoft.com/cdo/con...n/sendpassword", "****"); //set your password here ""
SmtpMail.Send(regMail);