Click here to Skip to main content
15,903,175 members
Home / Discussions / C#
   

C#

 
QuestionProblem with delegates Pin
Jacobb Michael13-Sep-09 23:27
Jacobb Michael13-Sep-09 23:27 
AnswerRe: Problem with delegates Pin
Keith Barrow13-Sep-09 23:38
professionalKeith Barrow13-Sep-09 23:38 
AnswerRe: Problem with delegates Pin
harold aptroot13-Sep-09 23:41
harold aptroot13-Sep-09 23:41 
GeneralRe: Problem with delegates Pin
Jacobb Michael13-Sep-09 23:54
Jacobb Michael13-Sep-09 23:54 
GeneralRe: Problem with delegates Pin
harold aptroot14-Sep-09 0:10
harold aptroot14-Sep-09 0:10 
AnswerRe: Problem with delegates Pin
Keith Barrow14-Sep-09 0:04
professionalKeith Barrow14-Sep-09 0:04 
GeneralRe: Problem with delegates Pin
Jacobb Michael14-Sep-09 0:13
Jacobb Michael14-Sep-09 0:13 
GeneralRe: Problem with delegates Pin
Keith Barrow14-Sep-09 0:17
professionalKeith Barrow14-Sep-09 0:17 
GeneralRe: Problem with delegates Pin
Jacobb Michael14-Sep-09 0:30
Jacobb Michael14-Sep-09 0:30 
AnswerRe: Problem with delegates Pin
carlecomm21-Sep-09 17:03
carlecomm21-Sep-09 17:03 
QuestionDuplicate record in XML Pin
Tufail Ahmad13-Sep-09 21:36
Tufail Ahmad13-Sep-09 21:36 
AnswerRe: Duplicate record in XML Pin
SeMartens13-Sep-09 22:06
SeMartens13-Sep-09 22:06 
GeneralRe: Duplicate record in XML Pin
Tufail Ahmad13-Sep-09 22:40
Tufail Ahmad13-Sep-09 22:40 
GeneralRe: Duplicate record in XML Pin
SeMartens13-Sep-09 22:49
SeMartens13-Sep-09 22:49 
AnswerRe: Duplicate record in XML Pin
N a v a n e e t h13-Sep-09 22:09
N a v a n e e t h13-Sep-09 22:09 
AnswerRe: Duplicate record in XML Pin
Keith Barrow13-Sep-09 23:22
professionalKeith Barrow13-Sep-09 23:22 
QuestionBar chart not displayed mozilla but displayed in firefox while implemented dynamically in c# Pin
mathewaugustine13-Sep-09 21:19
mathewaugustine13-Sep-09 21:19 
AnswerRe: Bar chart not displayed mozilla but displayed in firefox while implemented dynamically in c# Pin
dan!sh 13-Sep-09 22:05
professional dan!sh 13-Sep-09 22:05 
AnswerRe: Bar chart not displayed mozilla but displayed in firefox while implemented dynamically in c# Pin
Keith Barrow14-Sep-09 0:09
professionalKeith Barrow14-Sep-09 0:09 
AnswerRe: Bar chart not displayed mozilla but displayed in firefox while implemented dynamically in c# Pin
Christian Graus14-Sep-09 0:50
protectorChristian Graus14-Sep-09 0:50 
QuestionThe remote certificate is invalid according to the validation procedure. Pin
khosnur13-Sep-09 18:28
khosnur13-Sep-09 18:28 
Dearest Developers,

i can send programmatically(C#) insecure smtp mail. but when i try to send secure mail. the above error thrown.but if i use gmail(smtp.gmail.com) i can send mail.but when i use our secure smtp mail server(mail.nibssolutions.net)it does not send.

how i fix it.
plz help me.

thanks in advance

Code:

MailAddress SendFrom = new MailAddress("test@nibssolutions.net");

MailAddress SendTo = new MailAddress("rudro_aiub@yahoo.com");
MailMessage myMessage = new MailMessage(SendFrom, SendTo);

myMessage.Subject = "Subject";
myMessage.Body = "Body";


//SmtpClient _smtpClient = new SmtpClient("mail.nibssolutions.net",25);
SmtpClient _smtpClient = new SmtpClient("mail.nibssolutions.net", 587);

_smtpClient.EnableSsl = true;
_smtpClient.Credentials = new System.Net.NetworkCredential("test@nibssolutions.net", "*********");

_smtpClient.Send(myMessage);

MessageBox.Show("Mail Sent...");
AnswerRe: The remote certificate is invalid according to the validation procedure. Pin
Christian Graus13-Sep-09 18:31
protectorChristian Graus13-Sep-09 18:31 
GeneralRe: The remote certificate is invalid according to the validation procedure. Pin
khosnur13-Sep-09 19:23
khosnur13-Sep-09 19:23 
GeneralRe: The remote certificate is invalid according to the validation procedure. Pin
Christian Graus13-Sep-09 19:29
protectorChristian Graus13-Sep-09 19:29 
GeneralRe: The remote certificate is invalid according to the validation procedure. Pin
khosnur13-Sep-09 19:42
khosnur13-Sep-09 19:42 

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.