Click here to Skip to main content
15,902,737 members
Home / Discussions / C#
   

C#

 
GeneralRe: Communicate with other applications! Pin
Pedram Behroozi29-Aug-08 0:31
Pedram Behroozi29-Aug-08 0:31 
QuestionHelp with image loading! Pin
bugor7728-Aug-08 22:41
bugor7728-Aug-08 22:41 
AnswerRe: Help with image loading! Pin
Anthony Mushrow28-Aug-08 23:43
professionalAnthony Mushrow28-Aug-08 23:43 
QuestionMDX query iif condition Pin
annu0828-Aug-08 21:01
annu0828-Aug-08 21:01 
AnswerRe: MDX query iif condition Pin
Sathesh Sakthivel28-Aug-08 21:07
Sathesh Sakthivel28-Aug-08 21:07 
AnswerRe: MDX query iif condition Pin
J4amieC28-Aug-08 22:04
J4amieC28-Aug-08 22:04 
Questionformatting XmlWriter output ? Pin
Joe_Wong28-Aug-08 21:00
Joe_Wong28-Aug-08 21:00 
Questionproblem in sending SMTP mail Pin
varun_mca_ju28-Aug-08 20:58
varun_mca_ju28-Aug-08 20:58 
i am using Visual Studio 2005 and i'm using the following code to send mail:-

try
{
MailMessage mail = new MailMessage();

mail.To = varunmcaju@gmail.com;

mail.From = varun_mcaju@rediffmail.com;


mail.Body = "Sending mail through .NET SMTP mail";

SmtpMail.SmtpServer = "127.0.0.1";

SmtpMail.Send(mail);

MessageBox.Show("Mail sent successfully");
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}

when i run this code it gives no error ...but the mail is never delivered.
Then i checked the C:\Inetpub\mailroot\Queue folder and found the following message
"This is an automatically generated Delivery Status Notification.

Unable to deliver message to the following recipients, due to being unable to connect successfully to the destination mail server.

varunmcaju@gmail.com "
why is it unable to connect to the destination server Unsure | :~ ...any ideas? thanks in advance
AnswerRe: problem in sending SMTP mail Pin
Sathesh Sakthivel28-Aug-08 21:10
Sathesh Sakthivel28-Aug-08 21:10 
GeneralRe: problem in sending SMTP mail Pin
varun_mca_ju28-Aug-08 21:34
varun_mca_ju28-Aug-08 21:34 
RantRe: problem in sending SMTP mail Pin
Manas Bhardwaj28-Aug-08 21:40
professionalManas Bhardwaj28-Aug-08 21:40 
AnswerRe: problem in sending SMTP mail Pin
Manas Bhardwaj28-Aug-08 21:42
professionalManas Bhardwaj28-Aug-08 21:42 
QuestionRe: problem in sending SMTP mail Pin
varun_mca_ju28-Aug-08 22:04
varun_mca_ju28-Aug-08 22:04 
AnswerRe: problem in sending SMTP mail Pin
Manas Bhardwaj28-Aug-08 22:22
professionalManas Bhardwaj28-Aug-08 22:22 
AnswerRe: problem in sending SMTP mail Pin
Guffa28-Aug-08 22:25
Guffa28-Aug-08 22:25 
AnswerRe: problem in sending SMTP mail Pin
Learning IT29-Aug-08 0:26
Learning IT29-Aug-08 0:26 
QuestionCustom TreeView Pin
samulong28-Aug-08 20:44
samulong28-Aug-08 20:44 
AnswerRe: Custom TreeView Pin
Manas Bhardwaj28-Aug-08 21:44
professionalManas Bhardwaj28-Aug-08 21:44 
AnswerRe: Custom TreeView Pin
Ashfield28-Aug-08 22:16
Ashfield28-Aug-08 22:16 
AnswerChat applicaton with Webcam in C# Pin
Member 457592028-Aug-08 20:42
Member 457592028-Aug-08 20:42 
GeneralRe: Chat applicaton with Webcam in C# Pin
Sathesh Sakthivel28-Aug-08 21:07
Sathesh Sakthivel28-Aug-08 21:07 
QuestionBest networking Pin
Matt Cavanagh28-Aug-08 20:33
Matt Cavanagh28-Aug-08 20:33 
QuestionHow to get Thumbnails from Files? Pin
softwarejaeger28-Aug-08 20:15
softwarejaeger28-Aug-08 20:15 
AnswerRe: How to get Thumbnails from Files? Pin
Manas Bhardwaj28-Aug-08 21:47
professionalManas Bhardwaj28-Aug-08 21:47 
QuestionSync with Multiple Sources Pin
Expert Coming28-Aug-08 17:38
Expert Coming28-Aug-08 17:38 

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.