Click here to Skip to main content
15,905,877 members
Home / Discussions / C#
   

C#

 
QuestionCalculator Pin
Burim Rama12-Sep-08 1:26
Burim Rama12-Sep-08 1:26 
AnswerRe: Calculator Pin
stancrm12-Sep-08 1:31
stancrm12-Sep-08 1:31 
AnswerRe: Calculator Pin
blackjack215012-Sep-08 1:33
blackjack215012-Sep-08 1:33 
GeneralRe: Calculator Pin
Burim Rama12-Sep-08 1:37
Burim Rama12-Sep-08 1:37 
GeneralRe: Calculator Pin
blackjack215012-Sep-08 2:22
blackjack215012-Sep-08 2:22 
GeneralRe: Calculator Pin
Burim Rama12-Sep-08 2:32
Burim Rama12-Sep-08 2:32 
GeneralRe: Calculator Pin
leppie12-Sep-08 2:33
leppie12-Sep-08 2:33 
GeneralRe: Calculator Pin
Burim Rama12-Sep-08 2:40
Burim Rama12-Sep-08 2:40 
GeneralRe: Calculator Pin
leppie12-Sep-08 2:42
leppie12-Sep-08 2:42 
GeneralRe: Calculator Pin
Burim Rama12-Sep-08 2:44
Burim Rama12-Sep-08 2:44 
GeneralRe: Calculator Pin
leppie12-Sep-08 2:47
leppie12-Sep-08 2:47 
GeneralRe: Calculator Pin
Burim Rama12-Sep-08 3:06
Burim Rama12-Sep-08 3:06 
GeneralRe: Calculator Pin
Paul Conrad12-Sep-08 5:41
professionalPaul Conrad12-Sep-08 5:41 
AnswerRe: Calculator Pin
Paul Conrad12-Sep-08 5:39
professionalPaul Conrad12-Sep-08 5:39 
AnswerRe: Calculator Pin
nelsonpaixao12-Sep-08 14:06
nelsonpaixao12-Sep-08 14:06 
QuestionError reponse while using MSCOMM Pin
tauras8112-Sep-08 0:22
tauras8112-Sep-08 0:22 
AnswerRe: Error reponse while using MSCOMM Pin
Alan N12-Sep-08 1:52
Alan N12-Sep-08 1:52 
AnswerRe: Error reponse while using MSCOMM Pin
leppie12-Sep-08 2:20
leppie12-Sep-08 2:20 
AnswerRe: Error reponse while using MSCOMM Pin
carbon_golem12-Sep-08 2:50
carbon_golem12-Sep-08 2:50 
Questiondatalist column Pin
soujanya G12-Sep-08 0:05
soujanya G12-Sep-08 0:05 
AnswerRe: datalist column Pin
Manas Bhardwaj12-Sep-08 0:21
professionalManas Bhardwaj12-Sep-08 0:21 
QuestionSending Mail Using Console Application Pin
HatakeKaKaShi11-Sep-08 23:25
HatakeKaKaShi11-Sep-08 23:25 
Hey Guys Need Help

I created a Console Application to send out mails. The method i used is adding reference of Using System.Web.mail
MailMessage mail = new MailMessage();
mail.To = "xxx@xxx.com";
mail.From = "xxx@xxxe.com";
mail.Cc = "";
mail.Subject = "Testing Console";
mail.BodyFormat = MailFormat.Html;
mail.Body = "Testing";
SmtpMail.SmtpServer = "xx.x.xx.xx";
SmtpMail.Send(mail);

But I gotten this error saying "The transport failed to connect to the server."

Then I used The System.Net.Mail

MailMessage message = new MailMessage();
message.From = new MailAddress("xxx@xxx.com");
message.To.Add(new MailAddress("xxx@xxx.com"));
message.CC.Add(new MailAddress("carboncopy@foo.bar.com"));
message.Subject = "This is my subject";
message.Body = "This is the content";
SmtpClient client = new SmtpClient("xx.x.xx.xx");
client.Send(message);

But I gotten this error saying "Failure sending mail.."

I am running out of ideas. Any solution or advise

Thanks A million

KaKaShi HaTaKe

AnswerRe: Sending Mail Using Console Application Pin
Manas Bhardwaj11-Sep-08 23:38
professionalManas Bhardwaj11-Sep-08 23:38 
GeneralRe: Sending Mail Using Console Application Pin
HatakeKaKaShi11-Sep-08 23:46
HatakeKaKaShi11-Sep-08 23:46 
QuestionDisappearing of the text of a transparent RichTextBox control Pin
debobrata11-Sep-08 22:59
debobrata11-Sep-08 22:59 

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.