PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → ReceiveDate is 00000000000
ReceiveDate is 00000000000
Iniciado por RobertAS, 02,jun. 2020 11:02 - No hay respuesta
Publicado el 02,junio 2020 - 11:02
When retrieving mail form IMAP server the ReceiveDate is always 00000000000 rest of email values are correct.

is there some date or time setting i should be considering.

---------- Code ---------------------------------------------

MyIMAPSession is emailIMAPSession

...
...

// Start the IMAP session
IF NOT EmailStartSession(MyIMAPSession) THEN
// Error starting the IMAP session
Error("Unable to start the IMAP session.", ErrorInfo())
ELSE
// Read the messages
FOR EACH MyMessage OF MyIMAPSession

pdDateReceived = MyMessage.ReceiveDate
end
end