Click here to Skip to main content
11,704,315 members (54,183 online)
   

ASP.NET

 
AnswerRe: problem in check box Pin
Guffa28-Oct-08 22:54
mvpGuffa28-Oct-08 22:54 
GeneralRe: problem in check box Pin
susan_15161528-Oct-08 22:59
membersusan_15161528-Oct-08 22:59 
GeneralRe: problem in check box Pin
Guffa29-Oct-08 9:17
mvpGuffa29-Oct-08 9:17 
GeneralRe: problem in check box Pin
susan_15161529-Oct-08 20:01
membersusan_15161529-Oct-08 20:01 
GeneralRe: problem in check box Pin
Guffa29-Oct-08 21:15
mvpGuffa29-Oct-08 21:15 
GeneralRe: problem in check box Pin
susan_1516152-Nov-08 17:33
membersusan_1516152-Nov-08 17:33 
AnswerRe: problem in check box Pin
eyeseetee28-Oct-08 23:11
membereyeseetee28-Oct-08 23:11 
AnswerRe: problem in check box Pin
sharath0729-Oct-08 1:21
membersharath0729-Oct-08 1:21 
GeneralRe: problem in check box Pin
susan_15161529-Oct-08 19:58
membersusan_15161529-Oct-08 19:58 
Questioncategory tree like structure Pin
S.Dhanasekaran28-Oct-08 21:14
memberS.Dhanasekaran28-Oct-08 21:14 
Questionhow to issue STARTTLS command Pin
raghvendrapanda28-Oct-08 21:04
memberraghvendrapanda28-Oct-08 21:04 
AnswerRe: mail sending problem Pin
GDMFSOB28-Oct-08 21:12
memberGDMFSOB28-Oct-08 21:12 
GeneralRe: mail sending problem Pin
raghvendrapanda28-Oct-08 21:26
memberraghvendrapanda28-Oct-08 21:26 
GeneralRe: mail sending problem Pin
Himanshu Manjarawala23-Apr-12 19:49
memberHimanshu Manjarawala23-Apr-12 19:49 
Hi,
here is my code, which is same as your one. but not working as System.Net.Mail classes doesn't support SMTPS.

SmtpClient client = new SmtpClient("smtp.gmail.com", 465);
                MailMessage mail_msg = new MailMessage();
 
                MailAddress fromAdd = new MailAddress(tbFrom.Text.Trim());
                mail_msg.From = fromAdd;
                mail_msg.To.Add(new MailAddress(tbTo.Text.Trim()));
                mail_msg.Subject = tbSubject.Text;
                mail_msg.IsBodyHtml = true;
                mail_msg.Body = "Message From: " + tbFrom.Text.Trim() + "Subject:" + tbSubject.Text.Trim() + "Email: " + tbTo.Text.Trim() + "Content: " + tbContent.Text.Trim();
 
                System.Net.NetworkCredential basicCredential = new System.Net.NetworkCredential(tbFrom.Text, "my password");
                client.EnableSsl = true;
                client.UseDefaultCredentials = false;
                client.Credentials = basicCredential;
                client.Send(mail_msg);
Himanshu Manjarawala.
Sr. Software engineer @AutomationAnywhere
http://www.himanshumbi.blogspot.com
http://www.fieredotnet.wordpress.com

AnswerRe: how to issue STARTTLS command Pin
GDMFSOB28-Oct-08 21:35
memberGDMFSOB28-Oct-08 21:35 
QuestionHow do I restrict IPv6 IP Address Ranges? Pin
GDMFSOB28-Oct-08 20:42
memberGDMFSOB28-Oct-08 20:42 
QuestionRegular Expression Pin
ahmad2528-Oct-08 20:24
memberahmad2528-Oct-08 20:24 
AnswerRe: Regular Expression Pin
Christian Graus28-Oct-08 20:42
mvpChristian Graus28-Oct-08 20:42 
AnswerRe: Regular Expression Pin
Eduard Keilholz28-Oct-08 21:57
memberEduard Keilholz28-Oct-08 21:57 
GeneralRe: Regular Expression Pin
ahmad2528-Oct-08 23:33
memberahmad2528-Oct-08 23:33 
GeneralRe: Regular Expression Pin
Eduard Keilholz29-Oct-08 0:31
memberEduard Keilholz29-Oct-08 0:31 
QuestionHow to get the Gridview data into DataTable [modified] Pin
sekhar.k28-Oct-08 20:08
membersekhar.k28-Oct-08 20:08 
AnswerRe: How to get the Gridview data into DataTable Pin
meeram39528-Oct-08 21:18
membermeeram39528-Oct-08 21:18 
GeneralRe: How to get the Gridview data into DataTable Pin
sekhar.k28-Oct-08 21:28
membersekhar.k28-Oct-08 21:28 
GeneralRe: How to get the Gridview data into DataTable Pin
sekhar.k28-Oct-08 21:47
membersekhar.k28-Oct-08 21:47 
GeneralRe: How to get the Gridview data into DataTable Pin
sekhar.k28-Oct-08 22:12
membersekhar.k28-Oct-08 22:12 
GeneralRe: How to get the Gridview data into DataTable Pin
meeram39529-Oct-08 1:02
membermeeram39529-Oct-08 1:02 
AnswerRe: How to get the Gridview data into DataTable Pin
S.Dhanasekaran28-Oct-08 21:36
memberS.Dhanasekaran28-Oct-08 21:36 
QuestionUsers Loose Sessions Pin
Vuyiswa Maseko28-Oct-08 19:51
memberVuyiswa Maseko28-Oct-08 19:51 
AnswerRe: Users Loose Sessions Pin
Christian Graus28-Oct-08 20:40
mvpChristian Graus28-Oct-08 20:40 
GeneralRe: Users Loose Sessions Pin
Vuyiswa Maseko28-Oct-08 21:05
memberVuyiswa Maseko28-Oct-08 21:05 
GeneralRe: Users Loose Sessions Pin
Lloyd Atkinson29-Oct-08 5:33
memberLloyd Atkinson29-Oct-08 5:33 
QuestionGetting Error when exporting Gridview data to excel Pin
Satish - Developer28-Oct-08 19:41
member Satish - Developer28-Oct-08 19:41 
QuestionCalling java script Pin
alok_2k328-Oct-08 19:14
memberalok_2k328-Oct-08 19:14 
QuestionCrystal Report (PDF Format) Pin
LishaDamian28-Oct-08 18:52
memberLishaDamian28-Oct-08 18:52 
Questionasp.net ebooks Pin
open your mind28-Oct-08 18:22
memberopen your mind28-Oct-08 18:22 
AnswerRe: asp.net ebooks Pin
Christian Graus28-Oct-08 19:23
mvpChristian Graus28-Oct-08 19:23 
GeneralRe: asp.net ebooks Pin
John Gathogo28-Oct-08 19:52
memberJohn Gathogo28-Oct-08 19:52 
GeneralRe: asp.net ebooks Pin
Christian Graus28-Oct-08 20:45
mvpChristian Graus28-Oct-08 20:45 
GeneralRe: asp.net ebooks Pin
CPallini28-Oct-08 23:35
mvpCPallini28-Oct-08 23:35 
AnswerRe: asp.net ebooks Pin
Vuyiswa Maseko28-Oct-08 20:06
memberVuyiswa Maseko28-Oct-08 20:06 
GeneralRe: asp.net ebooks Pin
Christian Graus28-Oct-08 20:45
mvpChristian Graus28-Oct-08 20:45 
GeneralRe: asp.net ebooks Pin
Vuyiswa Maseko28-Oct-08 20:48
memberVuyiswa Maseko28-Oct-08 20:48 
GeneralRe: asp.net ebooks Pin
Christian Graus28-Oct-08 20:55
mvpChristian Graus28-Oct-08 20:55 
GeneralRe: asp.net ebooks Pin
Vuyiswa Maseko28-Oct-08 20:59
memberVuyiswa Maseko28-Oct-08 20:59 
GeneralRe: asp.net ebooks Pin
Christian Graus28-Oct-08 21:07
mvpChristian Graus28-Oct-08 21:07 
GeneralRe: asp.net ebooks Pin
Vuyiswa Maseko28-Oct-08 21:10
memberVuyiswa Maseko28-Oct-08 21:10 
GeneralRe: asp.net ebooks Pin
Colin Angus Mackay28-Oct-08 22:40
mvpColin Angus Mackay28-Oct-08 22:40 
GeneralRe: asp.net ebooks Pin
Vuyiswa Maseko28-Oct-08 22:45
memberVuyiswa Maseko28-Oct-08 22:45 
AnswerRe: asp.net ebooks Pin
Lloyd Atkinson29-Oct-08 5:38
memberLloyd Atkinson29-Oct-08 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.150819.1 | Last Updated 28 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid