Click here to Skip to main content
16,005,376 members
Home / Discussions / C#
   

C#

 
AnswerRe: Windows service Pin
John Petersen31-Aug-06 5:24
John Petersen31-Aug-06 5:24 
AnswerRe: Windows service Pin
scott_hackett31-Aug-06 5:44
scott_hackett31-Aug-06 5:44 
QuestionNDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
sharath nelaturu31-Aug-06 5:02
sharath nelaturu31-Aug-06 5:02 
AnswerRe: NDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
Dave Kreskowiak31-Aug-06 6:00
mveDave Kreskowiak31-Aug-06 6:00 
GeneralRe: NDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
sharath nelaturu31-Aug-06 6:29
sharath nelaturu31-Aug-06 6:29 
AnswerRe: NDOC 1.3 Vs Sandcastle for Documenting C# Managed Libraries Pin
Glen Harvy31-Aug-06 13:01
Glen Harvy31-Aug-06 13:01 
QuestionAdding new rows with data that has whitespaces to DataTable with unique constraint Pin
Nigor31-Aug-06 4:31
Nigor31-Aug-06 4:31 
QuestionLogging onto Exchange server using CDO Pin
dabs31-Aug-06 4:26
dabs31-Aug-06 4:26 
Hi,

I'm writing code which will access a mailbox (the actual mailbox is not known at compile time) and read the number of unread messages etc. The mailbox is (as the subject implies) on a Exchange server. I would like to use CDO (haven't really found another way), which supplies a Session object and a Logon method to open the mailbox:

MAPI.Session session = new MAPI.SessionClass( );<br />
Object vEmpty = System.Reflection.Missing.Value;<br />
String strProfileInfo = "server" + "\n" + "username";<br />
session.Logon( "", strPass, false, true, vEmpty, false, strProfileInfo );


However, no matter what parameters I specify, I always get a login dialog. Which I absolutely must get rid of, since this code will run on a web server. I've tried googling alot, but to no avail. Has anybody done anything similar and had some success with it?

Regards,
Daniel



Wenn ist das Nunstück git und Slotermeyer? Ja! Beierhund das oder die Flipperwaldt gersput!

QuestionDiscover Changes in AD User Object? Pin
tombryan31-Aug-06 4:09
tombryan31-Aug-06 4:09 
QuestionDataGridView in C# Pin
peshawarcoder31-Aug-06 4:02
peshawarcoder31-Aug-06 4:02 
AnswerRe: DataGridView in C# Pin
Robert Rohde31-Aug-06 5:12
Robert Rohde31-Aug-06 5:12 
GeneralRe: DataGridView in C# Pin
peshawarcoder31-Aug-06 19:06
peshawarcoder31-Aug-06 19:06 
QuestionRegex.Replace Chr(10) Pin
J Liang31-Aug-06 4:01
J Liang31-Aug-06 4:01 
AnswerRe: Regex.Replace Chr(10) [modified] Pin
John Petersen31-Aug-06 5:14
John Petersen31-Aug-06 5:14 
GeneralRe: Regex.Replace Chr(10) Pin
J Liang31-Aug-06 5:50
J Liang31-Aug-06 5:50 
GeneralRe: Regex.Replace Chr(10) Pin
Guffa31-Aug-06 8:00
Guffa31-Aug-06 8:00 
GeneralRe: Regex.Replace Chr(10) Pin
John Petersen31-Aug-06 22:43
John Petersen31-Aug-06 22:43 
GeneralRe: Regex.Replace Chr(10) Pin
J Liang2-Sep-06 3:12
J Liang2-Sep-06 3:12 
QuestionLocking within a single thread Pin
Dan Neely31-Aug-06 3:55
Dan Neely31-Aug-06 3:55 
AnswerRe: Locking within a single thread Pin
Not Active31-Aug-06 5:06
mentorNot Active31-Aug-06 5:06 
AnswerRe: Locking within a single thread Pin
Nader Elshehabi31-Aug-06 5:14
Nader Elshehabi31-Aug-06 5:14 
GeneralRe: Locking within a single thread Pin
Dan Neely31-Aug-06 5:54
Dan Neely31-Aug-06 5:54 
AnswerRe: Locking within a single thread Pin
mav.northwind31-Aug-06 7:37
mav.northwind31-Aug-06 7:37 
QuestionUsing COM? Pin
Dominik Reichl31-Aug-06 3:20
Dominik Reichl31-Aug-06 3:20 
AnswerRe: Using COM? Pin
Bhupi Bhai1-Sep-06 2:55
Bhupi Bhai1-Sep-06 2:55 

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.