|
|
|
|
|
- Properties specific to EmailAddress variables
- Reinitialization
EmailAddress (Variable type) In french: AdresseEmail
The EmailAddress type is used to handle an email address as well as its type (home, office, etc.). The characteristics of this email address can be defined and modified using various WLanguage properties. This type of variable is used by the Contact variables. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
MonContact is Contact
sAdresse is string
FOR EACH Email OF MonContact.Email
IF Email.Type = emailWork THEN
sAdresse = Email.Adresse
RETURN
END
END
gtabContacts is array of Contact
gContactEnCours is Contact
gtabContacts = ContactList(Null)
Info("Nombre de contacts : " + gtabContacts.Count)
FOR EACH gContactEnCours OF gtabContacts
Info(gContactEnCours.DisplayedName)
FOR EACH Email OF gContactEnCours.Email
Info(Email.Adresse)
END
END
Properties Properties specific to EmailAddress variables The following properties can be used to handle an Email address: | | | Property name | Type used | Effect |
---|
Address | Character string | Email address. | Label | Character string | Label for the custom types of email addresses (optional). If Type does not correspond to the emailCustom constant, the value of this property will be ignored. | Type | Integer constant | Type of email address: - emailOther other types.
- emailOffice office email address.
- emailDomicile Home email address.
- emailMobile phone's email address.
- emailCustom custom type corresponding to the value of the property Label.
|
Remarks Reinitialization You can use VariableReset to reset the contents of a variable of type EmailAddress.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|