ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / Managing emails
  • Properties specific to emailHeader variables
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
cMyEmail is Email
cAHeader is emailHeader
cAHeader.Name = "List-Unsubscribe"
cAHeader.Value = "<mailto:unsubscribe@domain.com>"
Add(cMyEmail.Header, cAHeader)
EmailSendMessage(MySession, cMyEmail, emailOptionEncodeHeader)
Remarks

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.
Remark: If EmailSendMessage is associated with the emailOptionEncodeHeader constant, the 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: 05/21/2024

Send a report | Local help