I tried to modify the code from
pDest = strstr(strAppo, "Messaggio:");
if (pDest != NULL)
{
in_message = 1 ; // set to true
strAppo1[0] = 0;
lenstr = strlen(pDest + 10);...
Type: Posts; User: ettore
I tried to modify the code from
pDest = strstr(strAppo, "Messaggio:");
if (pDest != NULL)
{
in_message = 1 ; // set to true
strAppo1[0] = 0;
lenstr = strlen(pDest + 10);...
Eureka !!!
It is almost perfect, there is only one issue, namely that now after Bartolomeo was inserted the character | And the problem is that I use this character to separate the fields of any...
look at the second message in example:
the Messaggio: report
but the text should be correctly:
the issue is this truncation of message at the first RETURN
Nome: paolo francesco barbaccia
Email: [email protected]
Cognome: Vaccaro.
Messaggio: Vaccaro.
Notiamo: un Pino, da Malta, che, a 20 febbraio 1397, ottenne concessione del feudo...
From [email protected] Mon Nov 19 11:57:58 2007
Return-Path: <[email protected]>
Received: from localhost (localhost [127.0.0.1])
by localhost.localdomain (8.11.6/8.11.6) with...
Yes to recover any email from file
i think that i need to change the segment
pDest = strstr(strAppo, "Messaggio:");
if (pDest != NULL)
{
strAppo1[0] = 0;
lenstr = strlen(pDest +...
Hi
i do not know if there's one end of message marker, but i think yes.
the file is a normal email's file
there's a header and a lot of emails one after other.
I hope that any message are...
Hello
I apologize for my poor english
I'm a italian old retired, I hope to increase my mind's performances trying to resolve my problems using c++.
I'm trying with this program to recover emails...