Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CDOSYS.DLL - ISMTPOnArrival_OnArrival
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
01421754
Message ID:
01421928
Vues:
34
Moving on from there I can now refer to the fixed fields by their short name but how to refer to the fields that are not included in this short name list?
PROCEDURE ISMTPOnArrival_OnArrival(toMsg AS VARIANT, tnEventStatus AS VARIANT @) AS VOID
? tnEventStatus
? toMsg.ReceivedTime
? toMsg.From
? toMsg.ReplyTo
All works fine but if I cycle through the field list like so:
FOR EACH oField in toMsg.Fields
	? oField.Name
	? oField.Value
ENDFOR
I find the following field exists:
	Name = "urn:schemas:mailheader:message-id"
	Value = "<MYSERVERaNgEpTX5V30000009f@MyDomain.net>"
Question is how can I refer to this field without having to read and cycle through all other fields in the field list? Does the toMsg.Fields collection have any properties other that Name & Value.

Thanks,
Nick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform