Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to send bulk mail?

how to send bulk mail?

Scheduled Pinned Locked Moved ASP.NET
csharpasp-netdatabasesql-servercom
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sathyan_8294
    wrote on last edited by
    #1

    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...

    A 1 Reply Last reply
    0
    • S sathyan_8294

      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...

      A Offline
      A Offline
      Andre Kraak
      wrote on last edited by
      #2

      I have not checked but I assume Gmail, Yahoo, Hotmail, etc. all will have limits in place to prevent the sending of bulk mail. For Gmail see: Sending limits[^].

      0100000101101110011001000111001011101001

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups