Click here to Skip to main content
15,912,665 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: vb.net, check array elements? Pin
Not Active4-Mar-10 5:54
mentorNot Active4-Mar-10 5:54 
GeneralRe: vb.net, check array elements? Pin
golisarmi4-Mar-10 6:04
golisarmi4-Mar-10 6:04 
GeneralRe: vb.net, check array elements? Pin
Not Active4-Mar-10 6:15
mentorNot Active4-Mar-10 6:15 
GeneralRe: vb.net, check array elements? Pin
Gideon Engelberth4-Mar-10 6:10
Gideon Engelberth4-Mar-10 6:10 
GeneralRe: vb.net, check array elements? Pin
golisarmi4-Mar-10 6:25
golisarmi4-Mar-10 6:25 
GeneralRe: vb.net, check array elements? Pin
RugbyLeague4-Mar-10 23:28
RugbyLeague4-Mar-10 23:28 
GeneralRe: vb.net, check array elements? Pin
Dhyanga9-Mar-10 10:00
Dhyanga9-Mar-10 10:00 
QuestionSending E-mail through default settings Pin
Jack Vanderhorst4-Mar-10 3:38
Jack Vanderhorst4-Mar-10 3:38 
Morning CPians, dig me out here Smile | :)

I need to send an E-mail from my app through the default E-mail setup on a client system. (invoices and order confirmations, exciting stuff)

I have learned through some Googles that MAPI used to do this (no I haven't tried, it looks pretty old), then MAPI was replaced by System.Web.Mail, which has now been replaced by System.Net.Mail. Great, BUT, these .NET replacements both need to be told the E-mail server's address and/or domain, which my users will definitely not know.

The Outlook automation assemblies look like an easy option, but I'd just as soon not limit myself to Outlook, or move outside .NET

Is there some way to have System.Net.Mail just send the mail through whatever default E-mail settings exist on a user's machine?

Perhaps I can look up the E-mail settings somewhere? Magically impersonate the user?

Ideas? Guidance?
AnswerRe: Sending E-mail through default settings Pin
Luc Pattyn4-Mar-10 4:15
sitebuilderLuc Pattyn4-Mar-10 4:15 
AnswerRe: Sending E-mail through default settings Pin
Scott Dorman4-Mar-10 4:30
professionalScott Dorman4-Mar-10 4:30 
GeneralRe: Sending E-mail through default settings Pin
Jack Vanderhorst4-Mar-10 5:18
Jack Vanderhorst4-Mar-10 5:18 
Questionbug in DataAdapter's ContinueUpdateOnError property Pin
teligaurav3-Mar-10 22:34
teligaurav3-Mar-10 22:34 
AnswerRe: bug in DataAdapter's ContinueUpdateOnError property Pin
T M Gray4-Mar-10 6:02
T M Gray4-Mar-10 6:02 
QuestionMissing .NET configuration tool in win7 Pin
Ming Luo3-Mar-10 20:39
Ming Luo3-Mar-10 20:39 
AnswerRe: Missing .NET configuration tool in win7 Pin
The Man from U.N.C.L.E.5-Mar-10 7:42
The Man from U.N.C.L.E.5-Mar-10 7:42 
QuestionTextbox Validation Pin
akosidandan3-Mar-10 20:35
akosidandan3-Mar-10 20:35 
AnswerRe: Textbox Validation Pin
Manas Bhardwaj3-Mar-10 23:55
professionalManas Bhardwaj3-Mar-10 23:55 
GeneralRe: Textbox Validation Pin
akosidandan4-Mar-10 2:21
akosidandan4-Mar-10 2:21 
GeneralRe: Textbox Validation Pin
Pete O'Hanlon4-Mar-10 2:40
mvePete O'Hanlon4-Mar-10 2:40 
GeneralRe: Textbox Validation Pin
akosidandan4-Mar-10 12:55
akosidandan4-Mar-10 12:55 
GeneralRe: Textbox Validation Pin
Laxman Auti4-Mar-10 20:28
Laxman Auti4-Mar-10 20:28 
GeneralRe: Textbox Validation Pin
Pete O'Hanlon4-Mar-10 22:05
mvePete O'Hanlon4-Mar-10 22:05 
QuestionCreate an email in .net 3.5 Pin
kpuneeth73-Mar-10 19:40
kpuneeth73-Mar-10 19:40 
AnswerRe: Create an email in .net 3.5 Pin
Richard MacCutchan3-Mar-10 21:24
mveRichard MacCutchan3-Mar-10 21:24 
AnswerRe: Create an email in .net 3.5 Pin
Not Active4-Mar-10 0:18
mentorNot Active4-Mar-10 0:18 

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.