Click here to Skip to main content
15,891,567 members
Home / Discussions / C#
   

C#

 
Questionhow can create a xml document? Pin
zecodela4-Sep-03 21:51
zecodela4-Sep-03 21:51 
AnswerRe: how can create a xml document? Pin
freshthinking4-Sep-03 22:28
freshthinking4-Sep-03 22:28 
AnswerRe: how can create a xml document? Pin
Mazdak4-Sep-03 22:39
Mazdak4-Sep-03 22:39 
AnswerRe: how can create a xml document? Pin
Manster5-Sep-03 9:09
Manster5-Sep-03 9:09 
QuestionSend an email from a Form? Pin
Bog4-Sep-03 19:58
Bog4-Sep-03 19:58 
AnswerRe: Send an email from a Form? Pin
David Stone4-Sep-03 20:07
sitebuilderDavid Stone4-Sep-03 20:07 
GeneralRe: Send an email from a Form? Pin
Bog5-Sep-03 9:34
Bog5-Sep-03 9:34 
AnswerRe: Send an email from a Form? Pin
Nick Seng4-Sep-03 21:14
Nick Seng4-Sep-03 21:14 
Here's an idea, if you have Outlook installed in the user's machine, why not just use the Outlook Com object.Add a reference to the Com, and add the following code:
Outlook.Application ol = new Outlook.Application();
Outlook.MailItem ml;
ml = ol.CreateItem(olMailItem);

ml.Body = "message body";
ml.To = email address;
ml.SenderName = your email;
ml.Send();

warning: the code above is modified from vba, so it might not exactly like expected.



God, I pity me! - Phoncible P. Bone

If I end up Windows ME someone is going to be hurting. - One of the answers to a question for What OS are you
GeneralRe: Send an email from a Form? Pin
Bog5-Sep-03 9:32
Bog5-Sep-03 9:32 
AnswerRe: Send an email from a Form? Pin
Manster5-Sep-03 9:06
Manster5-Sep-03 9:06 
GeneralRe: Send an email from a Form? Pin
Bog5-Sep-03 9:28
Bog5-Sep-03 9:28 
GeneralUpdating a class wrapper around a table Pin
Ista4-Sep-03 13:56
Ista4-Sep-03 13:56 
GeneralParagraph Selection in richtextbox Pin
opherg4-Sep-03 10:26
opherg4-Sep-03 10:26 
GeneralWebPage in C# Windows application Pin
yyf4-Sep-03 9:21
yyf4-Sep-03 9:21 
GeneralRe: WebPage in C# Windows application Pin
Kannan Kalyanaraman4-Sep-03 21:43
Kannan Kalyanaraman4-Sep-03 21:43 
GeneralRe: WebPage in C# Windows application Pin
Corinna John5-Sep-03 1:01
Corinna John5-Sep-03 1:01 
GeneralRe: WebPage in C# Windows application Pin
yyf5-Sep-03 10:08
yyf5-Sep-03 10:08 
GeneralRe: WebPage in C# Windows application Pin
Ista8-Sep-03 3:58
Ista8-Sep-03 3:58 
GeneralRe: WebPage in C# Windows application Pin
yyf5-Sep-03 10:11
yyf5-Sep-03 10:11 
Generalsoapsuds changes variablenames Pin
MeisterBiber4-Sep-03 8:51
MeisterBiber4-Sep-03 8:51 
Generaland looses some constructor-definitions !!! Pin
MeisterBiber4-Sep-03 8:56
MeisterBiber4-Sep-03 8:56 
GeneralLargeIcon view problems Pin
Matt Newman4-Sep-03 8:18
Matt Newman4-Sep-03 8:18 
GeneralBindable Custom Control Pin
..Hubert..4-Sep-03 7:00
..Hubert..4-Sep-03 7:00 
GeneralRe: Bindable Custom Control Pin
Ista4-Sep-03 13:50
Ista4-Sep-03 13:50 
GeneralRe: Bindable Custom Control Pin
..Hubert..5-Sep-03 0:45
..Hubert..5-Sep-03 0:45 

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.