Click here to Skip to main content
15,913,055 members
Home / Discussions / C#
   

C#

 
AnswerRe: Error in some client machines with Microsoft.mshtml Pin
Dave Kreskowiak6-Jun-09 10:08
mveDave Kreskowiak6-Jun-09 10:08 
GeneralRe: Error in some client machines with Microsoft.mshtml Pin
ManojKumar197-Jun-09 5:46
ManojKumar197-Jun-09 5:46 
GeneralRe: Error in some client machines with Microsoft.mshtml Pin
Dave Kreskowiak7-Jun-09 7:16
mveDave Kreskowiak7-Jun-09 7:16 
QuestionRegarding Notepad application Pin
Devi526-Jun-09 5:55
Devi526-Jun-09 5:55 
AnswerRe: Regarding Notepad application Pin
0x3c06-Jun-09 6:04
0x3c06-Jun-09 6:04 
AnswerRe: Regarding Notepad application Pin
Dave Kreskowiak6-Jun-09 10:05
mveDave Kreskowiak6-Jun-09 10:05 
GeneralRe: Regarding Notepad application Pin
EliottA8-Jun-09 11:36
EliottA8-Jun-09 11:36 
QuestionTry to get System.Net.Mail to work Pin
dptalt6-Jun-09 5:30
dptalt6-Jun-09 5:30 
I cannot get the System.Net.Mail to send out an email message from my Windows application. The Try Catch reports an the error message 'Failure sending message'. What is causing the error? Below is the code I'm using.

MailAddress objFromMailAddress = new MailAddress("myfromemail@mydomain.com, "");

MailAddress objToMailAddress = new MailAddress("mytoemail@mydomain.com");

MailMessage objMailMessage = new MailMessage(objFromMailAddress, objToMailAddress);

SmtpClient objSmtpClient = new SmtpClient();

objMailMessage.Subject = "Subject line";
objMailMessage.IsBodyHtml = false;
objMailMessage.Body = "Body message";

objSmtpClient.Host = "1and1.com;
objSmtpClient.Port = 587;

try
{
objSmtpClient.Send(objMailMessage);
}
catch (Exception pError)
{
}
AnswerRe: Try to get System.Net.Mail to work Pin
Dave Kreskowiak6-Jun-09 10:04
mveDave Kreskowiak6-Jun-09 10:04 
GeneralRe: Try to get System.Net.Mail to work Pin
dptalt8-Jun-09 3:40
dptalt8-Jun-09 3:40 
GeneralRe: Try to get System.Net.Mail to work Pin
Dave Kreskowiak8-Jun-09 14:07
mveDave Kreskowiak8-Jun-09 14:07 
AnswerRe: Try to get System.Net.Mail to work Pin
EliottA6-Jun-09 13:01
EliottA6-Jun-09 13:01 
QuestionC# application with mySQL Pin
treuveni6-Jun-09 5:25
treuveni6-Jun-09 5:25 
AnswerRe: C# application with mySQL Pin
Henry Minute6-Jun-09 9:33
Henry Minute6-Jun-09 9:33 
GeneralRe: C# application with mySQL Pin
treuveni6-Jun-09 20:15
treuveni6-Jun-09 20:15 
GeneralRe: C# application with mySQL Pin
bsaksida6-Jun-09 21:34
bsaksida6-Jun-09 21:34 
QuestionHide Form?? Pin
Muammar©6-Jun-09 2:34
Muammar©6-Jun-09 2:34 
AnswerRe: Hide Form?? Pin
0x3c06-Jun-09 2:50
0x3c06-Jun-09 2:50 
GeneralRe: Hide Form?? Pin
Muammar©6-Jun-09 2:56
Muammar©6-Jun-09 2:56 
GeneralRe: Hide Form?? Pin
DaveyM696-Jun-09 8:58
professionalDaveyM696-Jun-09 8:58 
QuestionType conversion in C# Pin
ManAm16-Jun-09 0:18
ManAm16-Jun-09 0:18 
AnswerRe: Type conversion in C# Pin
0x3c06-Jun-09 0:31
0x3c06-Jun-09 0:31 
AnswerRe: Type conversion in C# Pin
palvaibhav6-Jun-09 0:35
palvaibhav6-Jun-09 0:35 
Question[Message Deleted] Pin
orfan5-Jun-09 23:45
orfan5-Jun-09 23:45 
AnswerRe: UFFT (Ultra Fast Forest Tree) Algorithm Pin
Christian Graus5-Jun-09 23:56
protectorChristian Graus5-Jun-09 23:56 

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.