Click here to Skip to main content
15,895,656 members
Home / Discussions / C#
   

C#

 
GeneralRe: will there be a Standard Edition? Pin
Heath Stewart30-Jun-04 18:23
protectorHeath Stewart30-Jun-04 18:23 
GeneralCalling Java from C# Pin
BrcKcc30-Jun-04 9:14
BrcKcc30-Jun-04 9:14 
GeneralRe: Calling Java from C# Pin
Judah Gabriel Himango30-Jun-04 10:06
sponsorJudah Gabriel Himango30-Jun-04 10:06 
GeneralRe: Calling Java from C# Pin
Heath Stewart30-Jun-04 18:30
protectorHeath Stewart30-Jun-04 18:30 
Questionjavadoc-style document generator for .NET? Pin
drizzay30-Jun-04 8:43
drizzay30-Jun-04 8:43 
AnswerRe: javadoc-style document generator for .NET? Pin
Heath Stewart30-Jun-04 8:50
protectorHeath Stewart30-Jun-04 8:50 
GeneralRe: javadoc-style document generator for .NET? Pin
steven shingler30-Jun-04 12:30
steven shingler30-Jun-04 12:30 
Generalerror could not access cdo.message Pin
VIJAYPAPUPAGER30-Jun-04 8:28
VIJAYPAPUPAGER30-Jun-04 8:28 
I am a beginner & was working on namespace system.web.mail. i was simply trying to mail a hello world message on the click of
a button. BUT when i tried to do it i got an error message as follows
System.Web.HttpException: Could not access 'CDO.Message' object. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.InteropServices.COMException (0x80040213): The transport failed to connect to the server.
i have not configured my outlook express is it due to that, or is there some other problem. please help me. my code was as follows


private void button1_Click(object sender, System.EventArgs e)
{
sendemail();
}
public static void sendemail()
{
SmtpMail.SmtpServer = "www.hotmail.com";
MailMessage mm = new MailMessage();
mm.From = "casablancaknight@hotmail.com";
mm.To = "casablanca111@hotmail.com";
mm.Body = "hello";
mm.Subject = "hi";
SmtpMail.Send(mm);
}
GeneralRe: error could not access cdo.message Pin
Nick Parker30-Jun-04 8:36
protectorNick Parker30-Jun-04 8:36 
Generalmultiple splitting Pin
blankg30-Jun-04 8:21
blankg30-Jun-04 8:21 
GeneralSerializing and ArrayList Pin
Anonymous30-Jun-04 7:43
Anonymous30-Jun-04 7:43 
GeneralRe: Serializing and ArrayList Pin
Heath Stewart30-Jun-04 8:52
protectorHeath Stewart30-Jun-04 8:52 
GeneralExplorer DragImage Part III Pin
TylerBrinks30-Jun-04 6:36
TylerBrinks30-Jun-04 6:36 
GeneralRe: Explorer DragImage Part III Pin
TylerBrinks30-Jun-04 8:26
TylerBrinks30-Jun-04 8:26 
QuestionControl handles via drag event ? Pin
Guinness4Strength30-Jun-04 6:22
Guinness4Strength30-Jun-04 6:22 
AnswerRe: Control handles via drag event ? Pin
Nick Parker30-Jun-04 6:39
protectorNick Parker30-Jun-04 6:39 
GeneralRe: Control handles via drag event ? Pin
Guinness4Strength30-Jun-04 7:02
Guinness4Strength30-Jun-04 7:02 
GeneralRe: Control handles via drag event ? Pin
Nick Parker30-Jun-04 8:03
protectorNick Parker30-Jun-04 8:03 
AnswerRe: Control handles via drag event ? Pin
StealthyMark4-Jul-04 7:30
StealthyMark4-Jul-04 7:30 
GeneralQuestion on simple binding Pin
Brett Slaski30-Jun-04 4:26
Brett Slaski30-Jun-04 4:26 
GeneralRe: Question on simple binding Pin
Heath Stewart30-Jun-04 8:46
protectorHeath Stewart30-Jun-04 8:46 
GeneralRe: Question on simple binding Pin
Brett Slaski30-Jun-04 9:24
Brett Slaski30-Jun-04 9:24 
GeneralRe: Question on simple binding Pin
Heath Stewart30-Jun-04 18:08
protectorHeath Stewart30-Jun-04 18:08 
GeneralRe: Question on simple binding Pin
Brett Slaski1-Jul-04 2:44
Brett Slaski1-Jul-04 2:44 
GeneralRe: Question on simple binding Pin
Heath Stewart1-Jul-04 4:36
protectorHeath Stewart1-Jul-04 4:36 

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.