Click here to Skip to main content
15,907,906 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sortable gridview with comboboxes and can add/delete rows Pin
Mycroft Holmes1-Sep-09 22:26
professionalMycroft Holmes1-Sep-09 22:26 
QuestionGetChanges() Cannot see the modifications inside dataset! Pin
sevag.m1-Sep-09 19:39
sevag.m1-Sep-09 19:39 
QuestionHow to use some part of .Net framework in my setup package? Pin
saberimanesh1-Sep-09 19:29
saberimanesh1-Sep-09 19:29 
AnswerRe: How to use some part of .Net framework in my setup package? Pin
Vimalsoft(Pty) Ltd1-Sep-09 20:49
professionalVimalsoft(Pty) Ltd1-Sep-09 20:49 
GeneralRe: How to use some part of .Net framework in my setup package? Pin
saberimanesh1-Sep-09 21:01
saberimanesh1-Sep-09 21:01 
GeneralRe: How to use some part of .Net framework in my setup package? Pin
Christian Graus1-Sep-09 21:04
protectorChristian Graus1-Sep-09 21:04 
GeneralRe: How to use some part of .Net framework in my setup package? Pin
Vimalsoft(Pty) Ltd1-Sep-09 21:05
professionalVimalsoft(Pty) Ltd1-Sep-09 21:05 
GeneralRe: How to use some part of .Net framework in my setup package? Pin
Dave Kreskowiak2-Sep-09 4:23
mveDave Kreskowiak2-Sep-09 4:23 
GeneralRe: How to use some part of .Net framework in my setup package? Pin
Dan Neely2-Sep-09 4:30
Dan Neely2-Sep-09 4:30 
AnswerRe: How to use some part of .Net framework in my setup package? Pin
Christian Graus1-Sep-09 21:01
protectorChristian Graus1-Sep-09 21:01 
GeneralRe: How to use some part of .Net framework in my setup package? Pin
saberimanesh1-Sep-09 21:11
saberimanesh1-Sep-09 21:11 
GeneralRe: How to use some part of .Net framework in my setup package? Pin
Christian Graus1-Sep-09 21:17
protectorChristian Graus1-Sep-09 21:17 
GeneralRe: How to use some part of .Net framework in my setup package? thanks alot. Pin
saberimanesh1-Sep-09 21:31
saberimanesh1-Sep-09 21:31 
GeneralRe: How to use some part of .Net framework in my setup package? thanks alot. Pin
Christian Graus1-Sep-09 21:33
protectorChristian Graus1-Sep-09 21:33 
AnswerRe: How to use some part of .Net framework in my setup package? Pin
PIEBALDconsult2-Sep-09 3:47
mvePIEBALDconsult2-Sep-09 3:47 
GeneralRe: How to use some part of .Net framework in my setup package? Pin
saberimanesh2-Sep-09 4:03
saberimanesh2-Sep-09 4:03 
Questionhow to delete mail from mail server using C# Pin
khosnur1-Sep-09 19:25
khosnur1-Sep-09 19:25 
AnswerRe: how to delete mail from mail server using C# Pin
ThatsAlok1-Sep-09 19:50
ThatsAlok1-Sep-09 19:50 
GeneralRe: how to delete mail from mail server using C# Pin
khosnur1-Sep-09 20:38
khosnur1-Sep-09 20:38 
AnswerRe: how to delete mail from mail server using C# Pin
Tamer Oz1-Sep-09 19:55
Tamer Oz1-Sep-09 19:55 
GeneralRe: how to delete mail from mail server using C# Pin
khosnur1-Sep-09 20:43
khosnur1-Sep-09 20:43 
many many thanks
i am using pop3 mail server i programmatically connect the server and the mail ID but it do not delete the mail would u see the code and answer me the fault.

public MAIL_ERROR Connect(string host, int port, string username, string password)
{
try
{
_conn.Host = host;
_conn.Port = port;
_conn.Connect();
System.Threading.Thread.Sleep(_TimeOut);
return Login(username, password);
}
catch (Exception e)
{
System.Diagnostics.Trace.Write(e.ToString());
return MAIL_ERROR.ERROR_CANTCONNECT;
}
}

public MAIL_ERROR DeleteMessage(int id)
{
if (this._state != POP3_STATE.POP3_LOGGEDIN)
{
throw new MailException("You are not logged into the mail server");
}
string ret = "";
SendCommandSynchronous(string.Format("DELE {0}\r\n", id), out ret, false);

if (ret.Contains("OK") == false)
{
throw new MailException(ret);
}
else
{
return MAIL_ERROR.ERROR_NONE;
}
}
GeneralRe: how to delete mail from mail server using C# Pin
Tamer Oz1-Sep-09 20:58
Tamer Oz1-Sep-09 20:58 
GeneralRe: how to delete mail from mail server using C# Pin
khosnur1-Sep-09 21:21
khosnur1-Sep-09 21:21 
GeneralRe: how to delete mail from mail server using C# Pin
Tamer Oz1-Sep-09 21:44
Tamer Oz1-Sep-09 21:44 
GeneralRe: how to delete mail from mail server using C# Pin
khosnur1-Sep-09 20:46
khosnur1-Sep-09 20:46 

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.