Click here to Skip to main content
15,913,055 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalwsnprintf() method .h file needed .. Pin
derik_konark29-Nov-03 23:52
derik_konark29-Nov-03 23:52 
GeneralRe: wsnprintf() method .h file needed .. Pin
PJ Arends30-Nov-03 0:05
professionalPJ Arends30-Nov-03 0:05 
Generalwsnprintf() method __defined_.h_file Pin
derik_konark29-Nov-03 23:21
derik_konark29-Nov-03 23:21 
GeneralSimple databse problem Pin
Scozturk29-Nov-03 22:51
professionalScozturk29-Nov-03 22:51 
GeneralRe: Simple databse problem Pin
Gareth Johnson30-Nov-03 8:50
sussGareth Johnson30-Nov-03 8:50 
GeneralRSA cryptosystem Pin
swanss29-Nov-03 22:11
sussswanss29-Nov-03 22:11 
GeneralRe: RSA cryptosystem Pin
Jörgen Sigvardsson30-Nov-03 11:53
Jörgen Sigvardsson30-Nov-03 11:53 
GeneralHelp pop3 !!!!!!!!!!!!!!!!! Pin
BaldwinMartin29-Nov-03 19:58
BaldwinMartin29-Nov-03 19:58 
Has anyone found a way to delete email off servers that works?

P.J. shows the following in CPop3Connection:

BOOL CPop3Connection::Delete(int nMsg)
{
BOOL bSuccess = TRUE;

//Must be connected to perform a delete
ASSERT(m_bConnected);

//if we haven't executed the LIST command then do it now
if (!m_bListRetrieved)
bSuccess = List();

//Handle the error if necessary
if (!bSuccess)
return FALSE;

//Send the DELE command along with the message ID
char sBuf[20];

sprintf(sBuf, "DELE %d\r\n", nMsg);

int nCmdLength = strlen(sBuf);
if (!m_Pop.Send(sBuf, nCmdLength))
{
TRACE(_T("CPop3Connection::Delete, Failed to send the DELE command to the POP3 server\n"));
return FALSE;
}

return ReadCommandResponse();
}


It does NOT clear the server of the message.

I emailed the folks at apache and they suggested their is a know issue, and to send along a flush.

So....
// Send the flush command to server
char sbuff_f[20];
sprintf(sBuf_f, "FLUSH\r\n");
int nCmdLength = strlen(sBuf_f);
if (!m_Pop.Send(sBuf_f, nCmdLength))

No joy after flush.

Please help!Cry | :((


Best Wishes and Happy Holiday's,
ez_way
GeneralLinking the dialog and its class Pin
J.B.29-Nov-03 19:18
J.B.29-Nov-03 19:18 
GeneralRe: Linking the dialog and its class Pin
BaldwinMartin29-Nov-03 19:24
BaldwinMartin29-Nov-03 19:24 
GeneralRe: Linking the dialog and its class Pin
J.B.29-Nov-03 19:32
J.B.29-Nov-03 19:32 
GeneralRe: Linking the dialog and its class Pin
BaldwinMartin29-Nov-03 19:35
BaldwinMartin29-Nov-03 19:35 
GeneralRe: Linking the dialog and its class Pin
J.B.29-Nov-03 19:38
J.B.29-Nov-03 19:38 
GeneralRe: Linking the dialog and its class Pin
BaldwinMartin29-Nov-03 19:42
BaldwinMartin29-Nov-03 19:42 
GeneralRe: Linking the dialog and its class Pin
JWood29-Nov-03 19:46
JWood29-Nov-03 19:46 
GeneralRe: Linking the dialog and its class Pin
J.B.29-Nov-03 19:53
J.B.29-Nov-03 19:53 
GeneralAfxConnectionAdvice undeclared identifier Pin
Prakash Nadar29-Nov-03 18:26
Prakash Nadar29-Nov-03 18:26 
GeneralColoring slider Pin
georgiek5029-Nov-03 17:50
georgiek5029-Nov-03 17:50 
GeneralRe: Coloring slider Pin
BaldwinMartin29-Nov-03 19:44
BaldwinMartin29-Nov-03 19:44 
GeneralAddin Dialogs Pin
N.Byarley29-Nov-03 17:42
N.Byarley29-Nov-03 17:42 
GeneralRe: Addin Dialogs Pin
BaldwinMartin29-Nov-03 18:51
BaldwinMartin29-Nov-03 18:51 
GeneralRe: Addin Dialogs Pin
Scozturk29-Nov-03 22:53
professionalScozturk29-Nov-03 22:53 
Questionpassing variable argument list to another function? Pin
nm_11429-Nov-03 17:28
nm_11429-Nov-03 17:28 
AnswerRe: passing variable argument list to another function? Pin
BaldwinMartin29-Nov-03 19:40
BaldwinMartin29-Nov-03 19:40 
GeneralRe: passing variable argument list to another function? Pin
nm_11429-Nov-03 20:13
nm_11429-Nov-03 20:13 

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.