Autore Topic: Recuperare il corpo del testo con POP3  (Letto 291 volte)

Offline vuott

  • Moderatore globale
  • Senatore Gambero
  • *****
  • Post: 11.287
  • Ne mors quidem nos iunget
    • Mostra profilo
Recuperare il corpo del testo con POP3
« il: 15 Settembre 2013, 12:41:33 »
Riporto questa discussione apparsa nella Mailing List ufficiale:


" I'm struggling with this:
    
Codice: gambas [Seleziona]
For Each oMail In MailClient
          Print ; oMail.Message.Subject;; oMail.Message.Sender
        Wait
    Next


This works fine but how to retrieve the body of the message?

bill-lancaster
"


" Message.Body

--
Benoît Minisini
"


"
Codice: gambas [Seleziona]
Print   oMail.Message.Body


gives:
(MimePart 0x1f1fad8)

bill-lancaster
"


" Look at the Data property!

--
Benoît Minisini
"
« Ultima modifica: 15 Settembre 2013, 13:31:23 da vuott »
« Chiunque, non ricorrendo lo stato di necessità, nel proprio progetto Gambas fa uso delle istruzioni Shell o Exec, è punito con la sanzione pecuniaria da euro 20,00 a euro 60,00. »