|
|
|
|
|
EmailConfigure (Function) In french: EmailParamètre Used to configure WLanguage email management functions. This function is useful if you are using a multi-platform code. This allows you to use the same management mode of emails for your Windows and Linux applications, for your mobile applications (Android/iOS) and for your WEBDEV websites.
EmailConfigure(emailParameterMode, 1)
Syntax
EmailConfigure(<Option> , <Option value>)
<Option>: Integer constant Option to define: | | emailParameterHTML | When reading mails from a POP or IMAP server, the HTML part consists of a header and the HTML content itself. The charset that indicates the character encoding (UTF-8, ISO 8859-1, ISO-xxxx, etc.) can be in either or both of these parts.- If <Option value> is set to 0 (default value), the email functions will only use the charset specified in the email header to handle the HTML content.
- If <Option value> is set to 1, the email functions will use the charset specified in the email header to handle the HTML content, if no charset has been specified in the HTML part itself. In some cases, this avoids display errors on accented and special characters.
| emailParameterMode | Used to choose the operating mode of emails.- If <Option value> is set to 0, the email functions will use the WinInet module:
- for IMAP, POP3 and SMTP protocols in SSL mode (optionSSL or optionTLS constant)
- in STARTTLS mode (emailOptionSecuredTLS or emailProtocolSMTPS constant).
This mode corresponds to the default operating mode of functions for email management. - If <Option value> is set to 1, the email functions will use an implementation that supports multiple platforms. Therefore, the email management is the same for your Windows, Linux and mobile platforms (Android/iOS).
|
<Option value>: Integer New value of the option.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|