ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Communication / Managing emails
  • Properties specific to emailHeader variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The emailHeader type is used to retrieve or define the additional email headers. You can define and change the characteristics of a header using different WLanguage properties.
This type of variable is used by Email variables.
Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
cMonEmail is Email
cUneEntête is emailHeader
cUneEntête.Name = "List-Unsubscribe"
cUneEntête.Value = "<mailto:unsubscribe@domain.com>"
Add(cMonEmail.Header, cUneEntête)
EmailSendMessage(MaSession, cMonEmail, emailOptionEncodeHeader)
Properties

Properties specific to emailHeader variables

The following properties can be used to handle an email header:
Property nameType usedEffect
NameCharacter stringName of the header.
ValueCharacter stringValue of the header.
Note If the EmailSendMessage function uses the constant emailOptionEncodeHeadthe header value will be encoded in base 64.
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help