Click here to Skip to main content
15,891,473 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionWhat is ref and out and how to use in asp.net ? Pin
NeerajYadavMca2k518-Jul-12 21:23
NeerajYadavMca2k518-Jul-12 21:23 
AnswerRe: What is ref and out and how to use in asp.net ? Pin
Richard MacCutchan18-Jul-12 22:07
mveRichard MacCutchan18-Jul-12 22:07 
AnswerRe: What is ref and out and how to use in asp.net ? Pin
Sandeep Mewara18-Jul-12 22:39
mveSandeep Mewara18-Jul-12 22:39 
AnswerRe: What is ref and out and how to use in asp.net ? Pin
ashjassi17-Aug-12 2:55
ashjassi17-Aug-12 2:55 
QuestionSMPT server not sent an Email to gmail or yahoo mails Pin
Muhammad Fahim Baloch18-Jul-12 19:57
Muhammad Fahim Baloch18-Jul-12 19:57 
AnswerRe: SMPT server not sent an Email to gmail or yahoo mails Pin
Rajesh Buddaraju19-Jul-12 6:15
Rajesh Buddaraju19-Jul-12 6:15 
AnswerRe: SMPT server not sent an Email to gmail or yahoo mails Pin
jkirkerx19-Jul-12 8:19
professionaljkirkerx19-Jul-12 8:19 
AnswerRe: SMPT server not sent an Email to gmail or yahoo mails Pin
phani.sv21-Jul-12 0:37
phani.sv21-Jul-12 0:37 
Try this:

MailMessage Msg = new MailMessage();
Msg.To.Add( new MailAddress(TxtEmail .Text .Trim ()));
Msg.From = "tehnical@mydomain.com";
Msg.IsBodyHtml = true;
Msg.Subject = "Login Details";

SmtpClient smtp = new SmtpClient();
smtp.Host = "mail.mydomain.com";
smtp.Port = 1234;
smtp.EnableSsl = GmailSSL;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.UseDefaultCredentials = false;
smtp.Credentials = new NetworkCredential("tehnical@mydomain.com","password");

smtp.Send(Msg);
Questionretain scrollbar position Pin
dcof18-Jul-12 8:47
dcof18-Jul-12 8:47 
AnswerRe: retain scrollbar position Pin
Sandeep Mewara18-Jul-12 9:26
mveSandeep Mewara18-Jul-12 9:26 
GeneralRe: retain scrollbar position Pin
dcof18-Jul-12 11:39
dcof18-Jul-12 11:39 
GeneralRe: retain scrollbar position Pin
Trak4Net18-Jul-12 12:35
Trak4Net18-Jul-12 12:35 
GeneralRephrase the Question Pin
jkirkerx18-Jul-12 13:01
professionaljkirkerx18-Jul-12 13:01 
GeneralRe: Rephrase the Question Pin
Trak4Net18-Jul-12 14:40
Trak4Net18-Jul-12 14:40 
GeneralRe: Rephrase the Question Pin
jkirkerx18-Jul-12 16:01
professionaljkirkerx18-Jul-12 16:01 
GeneralRe: Rephrase the Question Pin
dcof18-Jul-12 18:49
dcof18-Jul-12 18:49 
GeneralRe: Rephrase the Question Pin
Trak4Net18-Jul-12 19:29
Trak4Net18-Jul-12 19:29 
GeneralRe: Rephrase the Question Pin
jkirkerx18-Jul-12 19:35
professionaljkirkerx18-Jul-12 19:35 
GeneralRe: Rephrase the Question Pin
Trak4Net18-Jul-12 19:38
Trak4Net18-Jul-12 19:38 
GeneralRe: Rephrase the Question Pin
jkirkerx18-Jul-12 19:42
professionaljkirkerx18-Jul-12 19:42 
GeneralRe: Rephrase the Question Pin
jkirkerx18-Jul-12 19:32
professionaljkirkerx18-Jul-12 19:32 
AnswerRe: retain scrollbar position Pin
Sandeep Mewara18-Jul-12 19:37
mveSandeep Mewara18-Jul-12 19:37 
AnswerRe: retain scrollbar position Pin
Rajesh Buddaraju19-Jul-12 6:25
Rajesh Buddaraju19-Jul-12 6:25 
GeneralRe: retain scrollbar position Pin
Sandeep Mewara19-Jul-12 17:39
mveSandeep Mewara19-Jul-12 17:39 
GeneralRe: retain scrollbar position Pin
Trak4Net21-Jul-12 11:02
Trak4Net21-Jul-12 11:02 

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

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