Click here to Skip to main content
15,892,072 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: File management website advice Pin
AlexeiXX314-May-09 8:42
AlexeiXX314-May-09 8:42 
QuestionCreate navigation via ASP.net and MS SQL. Pin
Mantaii12-May-09 3:36
Mantaii12-May-09 3:36 
AnswerRe: Create navigation via ASP.net and MS SQL. Pin
Herman<T>.Instance12-May-09 23:56
Herman<T>.Instance12-May-09 23:56 
GeneralRe: Create navigation via ASP.net and MS SQL. Pin
Mantaii12-May-09 23:58
Mantaii12-May-09 23:58 
QuestionRe: Create navigation via ASP.net and MS SQL. [modified] Pin
Mantaii13-May-09 0:32
Mantaii13-May-09 0:32 
AnswerRe: Create navigation via ASP.net and MS SQL. Pin
Herman<T>.Instance13-May-09 1:14
Herman<T>.Instance13-May-09 1:14 
Questionauthenticated rss feed Pin
Xpycm12-May-09 3:32
Xpycm12-May-09 3:32 
QuestionRead Email from OutLook Pin
Usharva12-May-09 2:42
Usharva12-May-09 2:42 
Hi,

How can i read my Mails from another computer. Below code reads mails from the current system Inbox.

In Outlook.NameSpace.Logon Profile property what value i need to pass to read other Inbox?

Outlook.Application myOlApp = new Outlook.Application();

Outlook.NameSpace ns = myOlApp.GetNamespace("Mapi");
ns.Logon("","",false,true);
Outlook.MAPIFolder inbox = ns.GetDefaultFolder(Microsoft.Office.Interop.Outlook.OlDefaultFolders.olFolderInbox );

foreach (Microsoft.Office.Interop.Outlook.MailItem submail in inbox.Items)
{
Microsoft.Office.Interop.Outlook.Attachments ii = submail.Attachments;

for (int j = 1; j <= ii.Count; j++)
{
Microsoft.Office.Interop.Outlook.Attachment aa = (Microsoft.Office.Interop.Outlook.Attachment)ii[j];

Console.WriteLine(aa.FileName);

string mypath = @"D:\FileUpload\" + aa.FileName;
aa.SaveAsFile(mypath);

}

}




Thanks in Advance
AnswerRe: Read Email from OutLook Pin
Christian Graus12-May-09 2:43
protectorChristian Graus12-May-09 2:43 
RantRe: Read Email from OutLook Pin
Brian W King12-May-09 3:06
Brian W King12-May-09 3:06 
GeneralRe: Read Email from OutLook Pin
Christian Graus12-May-09 7:39
protectorChristian Graus12-May-09 7:39 
AnswerRe: Read Email from OutLook Pin
Yusuf12-May-09 7:58
Yusuf12-May-09 7:58 
QuestionFetch GridView Rows... Pin
spalanivel12-May-09 1:58
spalanivel12-May-09 1:58 
AnswerRe: Fetch GridView Rows... Pin
Baran M12-May-09 2:26
Baran M12-May-09 2:26 
AnswerRe: Fetch GridView Rows... Pin
NetQuestions12-May-09 4:27
NetQuestions12-May-09 4:27 
QuestionVertical Scroll bar in a treeview Pin
meeram39512-May-09 1:44
meeram39512-May-09 1:44 
AnswerRe: Vertical Scroll bar in a treeview Pin
Ramesh Swaminathan12-May-09 2:48
Ramesh Swaminathan12-May-09 2:48 
GeneralRe: Vertical Scroll bar in a treeview Pin
meeram39512-May-09 2:52
meeram39512-May-09 2:52 
AnswerRe: Vertical Scroll bar in a treeview Pin
Member 475589313-May-09 1:20
Member 475589313-May-09 1:20 
QuestionShow video in Thumbnail Pin
Jain Vijay12-May-09 1:39
Jain Vijay12-May-09 1:39 
AnswerRe: Show video in Thumbnail Pin
Ramesh Swaminathan12-May-09 2:14
Ramesh Swaminathan12-May-09 2:14 
AnswerRe: Show video in Thumbnail Pin
Christian Graus12-May-09 2:17
protectorChristian Graus12-May-09 2:17 
RantGridView ButtonField Image vs Button and RowCommand Pin
binarymax12-May-09 1:20
binarymax12-May-09 1:20 
GeneralRe: GridView ButtonField Image vs Button and RowCommand Pin
Member 387988112-May-09 2:05
Member 387988112-May-09 2:05 
GeneralRe: GridView ButtonField Image vs Button and RowCommand Pin
binarymax12-May-09 2:30
binarymax12-May-09 2:30 

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.