Click here to Skip to main content
15,917,005 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: The remote certificate is invalid according to the validation procedure. Pin
Christian Graus13-Sep-09 19:45
protectorChristian Graus13-Sep-09 19:45 
QuestionImage croping Pin
Game-point13-Sep-09 18:25
Game-point13-Sep-09 18:25 
AnswerRe: Image croping Pin
Christian Graus13-Sep-09 18:32
protectorChristian Graus13-Sep-09 18:32 
GeneralRe: Image croping Pin
Game-point13-Sep-09 18:42
Game-point13-Sep-09 18:42 
GeneralRe: Image croping Pin
Christian Graus13-Sep-09 18:56
protectorChristian Graus13-Sep-09 18:56 
QuestionAdd event to a WPF custom control library in Windows Form Pin
Shashuma13-Sep-09 15:27
Shashuma13-Sep-09 15:27 
AnswerRe: Add event to a WPF custom control library in Windows Form Pin
Christian Graus13-Sep-09 18:36
protectorChristian Graus13-Sep-09 18:36 
QuestionExecute code in another process? Pin
o m n i13-Sep-09 13:52
o m n i13-Sep-09 13:52 
QuestionRe: Execute code in another process? Pin
Adam Maras13-Sep-09 14:18
Adam Maras13-Sep-09 14:18 
GeneralRe: Execute code in another process? Pin
o m n i13-Sep-09 14:21
o m n i13-Sep-09 14:21 
AnswerRe: Execute code in another process? Pin
Christian Graus13-Sep-09 16:21
protectorChristian Graus13-Sep-09 16:21 
QuestionHandle exceptions in GTK# Pin
4yb@ka13-Sep-09 11:27
4yb@ka13-Sep-09 11:27 
AnswerRe: Handle exceptions in GTK# Pin
jdneul13-Sep-09 11:44
jdneul13-Sep-09 11:44 

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.