> ya i would like go with Balachandran Sivakumar >you can look at programming that is used send any mail >
1. private void button_send_Click(object sender, EventArgs e) 2. { 3. //Detailed Method 4. 5. MailAddress mailfrom = new MailAddress("sen...@gmail.com"); 6. MailAddress mailto = new MailAddress("recei...@abc.com"); 7. MailMessage newmsg = new MailMessage(mailfrom, mailto); 8. 9. newmsg.Subject = "Subject of Email"; 10. newmsg.Body = "Body(message) of email"; 11. 12. //For File Attachment, more file can also be attached 13. Attachment att = new Attachment("C:\\...file path"); 14. newmsg.Attachments.Add(att); 15. 16. SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587); 17. smtp.UseDefaultCredentials = false; 18. smtp.Credentials = new NetworkCredential("username","password"); 19. smtp.EnableSsl = true; 20. smtp.Send(newmsg); 21. 22. //Alternative Short Method 23. 24. SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587); 25. smtp.UseDefaultCredentials = false; 26. smtp.Credentials = new NetworkCredential("username","password"); 27. smtp.EnableSsl = true; 28. smtp.Send("sen...@gamil.com", "receiver", "subject", "Email Body" ); 29. } if this recognize any post duplicate it shows same problem faces by Devjvoti 30. also working of GOOGLEBOT is same , sometimes it also happen on blogger Thanks Vikash Ruhil Mail: vikasruhi...@gmail.com Blog: learnhackstuff.blogspot.com On Wed, Apr 27, 2011 at 3:08 PM, devjyoti patra <djpa...@gmail.com> wrote: > > > > > Aargh! The OP had cross-posted this to multiple mailing lists and > > > Gmail shows everything together in a single thread which led me to > > > wrongly believe that the mail that I was replying to was posted to > > > ILUGC and hence the above reply. I know that we don't insist on > > > particular posting style here in this list. > > > How does Gmail show a message from Ilugc and Bangpypers on a single thread? > Instead of blaming the OP for cross-posting, please read, if required > re-read, and then reply to messages. > > Thanks, > Devjyoti > _______________________________________________ > BangPypers mailing list > BangPypers@python.org > http://mail.python.org/mailman/listinfo/bangpypers > _______________________________________________ BangPypers mailing list BangPypers@python.org http://mail.python.org/mailman/listinfo/bangpypers