Err doc

Routine: # InternetHeaders.NameCount

Y a comme erreur dans la doc

Example

var i as integer
i = Str(mail.Headers.NameCount(“X-Mailer”))

docu said it returns a integer so Str( make no sense.
example seems wrong.

https://docs.xojo.com/InternetHeaders.NameCount
Var i As Integer
i = mail.Headers.NameCount("X-Mailer")

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.