Hai all,
I want to send bulk mail in asp.net using C#...Front End:Asp.Net with C# and Back End:Sql Server.
Following code is used to sending from gmail only...how i send from yahoo,hotmail,rediffmail,etc...

MailMessage mm = new MailMessage();
mm.From =new MailAddress(FromTextBox.Text);
mm.To.Add(ToTextBox.Text);
if (FileUpload1.HasFile)
{
Attachment at = new Attachment(FileUpload1.PostedFile.FileName);
mm.Attachments.Add(at);
}
mm.Subject = SubjectTextBox.Text;
mm.Body = MessageTextBox.Text;
SmtpClient sc = new SmtpClient();
sc.Host ="smtp.gmail.com";
sc.Port = 587;

sc.EnableSsl = true;
sc.Credentials =new System.Net.NetworkCredential(FromTextBox.Text,PasswordTextBox.Text);
sc.Send(mm);
Response.Write("Mail Sended");

how to send bulkmail from gmail,yahoo,rediffmail,hotmail etc..
how to attached single and multiple files and images...
how to store sended mail with and without single and multiple attachments...
how to do these all...please any body send code...
thanks in advance...