Gambas-it

Gambas3 => Domande tecniche => Topic aperto da: vuott - 15 Settembre 2013, 12:41:33

Titolo: Recuperare il corpo del testo con POP3
Inserito da: vuott - 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
"