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);
Attachment at = new Attachment(FileUpload1.PostedFile.FileName);
mm.Subject = SubjectTextBox.Text;
mm.Body = MessageTextBox.Text;
SmtpClient sc = new SmtpClient();
sc.Port = 587;
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...
Frankly, why should anyone have an interest in having you send a bulk mail? After all these mail all end up in the junk mail folder and are being deleted without being read. Frankly, even if I get a mail that is passing the junk-mail filter I delete it without reading it. I don't read commersials that show up in my physical mailbox so why would I read one an electronical one?
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it.
- Brian W. Kernighan