AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / Desarrollar una aplicación o un sitio web / Controles, ventanas y páginas / Controles: tipos disponibles / Control Área de texto enriquecido
  • Reading the previous email received in the POP3 mailbox
EmailReadPrevious (Example)
Reading the previous email received in the POP3 mailbox
The following code is used to read all the incoming emails from the most recent one. For each email, the user can view the entire email in the "WIN_Email_RCV" window.
// Start the email session (POP3 protocol)
IF EmailStartSession(USER, PASSWORD, "pop3.ifrance.fr", ...
"smtp.ifrance.fr") = True THEN
UserName = USER
ELSE
UserName = ""
Error("Unable to establish the connection")
END
 
...
 
// Read the last incoming record
EmailReadLast(UserName)
// Browse the emails (from the most recent one)
WHILE Email.Out = False
IF Confirm("Message from " + Email.Sender + ...
"Do you want to read this message?") THEN
Open(WIN_Email_RCV)
ELSE
EmailReadPrevious(UserName)
END
END
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/05/2022

Señalar un error o enviar una sugerencia | Ayuda local