"" then ContaPdf = ContaPdf + 1 End If iz = iz +1 End ForAll Ma gli allegati che 'vedo' nella mail e NON sono nel Body, non so come fare... Come dicevo ho notato che nel documento per ogni allegato (dentro e fuori il body) c'è un $FILE... Come posso leggerne il contenuto? Grazie ">
> |  
re... : intercettare allegati in una mail
Claudia
In una vista questa formula è perfetta ma come la posso \'tradurre\' in un codice per un agente?
Per gli allegati che sono nel body NON ho problemi ed utilizzo questo codice:

If docMail.HasItem( "Body" ) Then
\'Conta gli allegati presenti nel Body
contaPDF = 0
iz = 0
Set vItem = docMail.GetFirstItem("Body")
oggetti = vItem.EmbeddedObjects
ForAll v In oggetti
If v.source <> "" then
ContaPdf = ContaPdf + 1
End If

iz = iz +1
End ForAll

Ma gli allegati che \'vedo\' nella mail e NON sono nel Body, non so come fare...
Come dicevo ho notato che nel documento per ogni allegato (dentro e fuori il body) c\'è un $FILE...
Come posso leggerne il contenuto? Grazie



Claudia


intercettare allegati in una mail - Claudia -
    re : intercettare allegati in una mail - Giuseppe -
        You are here re... : intercettare allegati in una mail - Claudia -
            re... : intercettare allegati in una mail - Giuseppe -
                re... : intercettare allegati in una mail - mencarelli -
                    re... : intercettare allegati in una mail - Claudia -