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
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The following constants are used by the email functions.
ConstantDetailsFunction
New in version 2025
arch32
The default email client is a 32-bit program.
New in version 2025
EmailAppGetArchitecture
New in version 2025
arch64
The default email client is a 64-bit program.
New in version 2025
EmailAppGetArchitecture
emailAddressErrorEmail address validity test: an error occurred during verification.EmailCheckAddress
emailAddressIncorrectSyntaxEmail address validity test: the address is syntactically false.EmailCheckAddress
emailAddressRefusedEmail address validity test: the address has been rejected by the mail server.EmailCheckAddress
emailAddressValidEmail address validity test: the address is valid.EmailCheckAddress
emailAllMessage to read: read and unread emailsEmailSeekFirst, EmailSeekFirstNotes, EmailReadLast, EmailReadLastHeader, EmailReadPreviousHeader, EmailReadFirstHeader, EmailReadNextHeader, EmailReadPrevious, EmailReadFirst, EmailReadNext
emailAsynchronousTransmit the emails in asynchronous modeEmailStartSession, EmailStartSMTPSession
emailBodyPart of the Email in which the search is performed: Email bodyEmailSeekFirst, EmailSeekFirstNotes
emailCompanyConfidentialType of confidentiality: confidential EmailEmail structure, variable of type Email
emailErrorEmail status: an error has occurredEmailStatus
emailHighPriorityEmail priority: high priorityEmail structure, variable of type Email
emailLowPriorityEmail priority: low priorityEmail structure, variable of type Email
emailMessageIDPart of the Email in which the search is performed: Email identifierEmailSeekFirst
emailNonePart of the Email in which the search is performed: search using a Lotus Notes selection formulaEmailSeekFirstNotes
emailNormalPriorityEmail priority: normal priorityEmail structure, variable of type Email
emailNoSensitivityPrivacy type: no privacyEmail structure, variable of type Email
emailOptionDefaultNon-secure connectionEmailStartIMAPSession,
emailIMAPSession variable,
emailPOP3Session variable,
emailSMTPSession variable
emailOptionEncodeHeaderEncodes the message headers in Quoted-Printable if necessary.
The message header is not encoded by default. This constant prevents the emails with wrongly encoded accented characters.
EmailSendMessage
EmailBuildSource
emailOptionHeaderBccUsed to add the non-official recipients into the source code of email header. EmailBuildSource
emailOptionMessageIDSend the email while taking the Email.MessageID variable into accountEmailSendMessage
emailOptionNoCIDThe identifiers generated for the images found in the HTML file are unique by import.EmailImportHTML
emailOptionReferenceSend the email while taking the Email.Reference variable into accountEmailSendMessage
emailOptionSecuredTLSStart the SMTP session secured by the TLS protocol.
In version 28 Update 4, this constant was replaced with the emailProtocolSMTPS constant.
EmailStartSMTPSession,
emailSMTPSession variable
emailParameterHTMLWhen 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.EmailConfigure
emailParameterModeUsed to choose the operating mode of emails.
  • The functions for email management can use the "wininet" module of Windows for the IMAP, POP3 and SMTP protocols in SSL mode or in STARTTLS mode. This mode corresponds to the default operating mode of functions for email management.
  • The functions for email management can use an implementation that supports the multi-platform. Therefore, the email management is the same for your Windows, Linux and mobile platforms (Android/iOS).
EmailConfigure
emailPendingEmail sending status: email waiting to be sentEmailStatus
emailPersonalPrivacy type: personal EmailEmail structure, variable of type Email
emailPrivatePrivacy type: private emailEmail structure, variable of type Email
emailProtocolSMTPSStart the SMTP session secured by the TLS protocol.EmailStartSMTPSession,
emailSMTPSession variable
emailRecipientPart of the Email in which the search is performed: Email recipientsEmailSeekFirst, EmailSeekFirstNotes
emailSenderPart of the Email in which the search is performed: Email sendersEmailSeekFirst, EmailSeekFirstNotes
emailSentEmail status: email sentEmailStatus
emailSessionIgnoreExpiredCertificateThe certificate date is ignored. emailSMTPSession variable
emailSessionIgnoreInvalidCertificateThe certificate is ignored. emailSMTPSession variable
emailSessionIgnoreInvalidCertificateNameThe site name specified in the certificate is ignored.emailSMTPSession variable
emailSessionIgnoreRevocationThe check in the list of revoked certificates is ignored.emailSMTPSession variable
emailStatusNotReadIndicates that an email was not read.EmailChangeStatus
emailStatusReadIndicates that an email was read.EmailChangeStatus
emailSubjectPart of the Email in which the search is performed: Email subjectsEmailSeekFirst, EmailSeekFirstNotes
emailSynchronousTransmission mode of the emails in synchronous modeEmailStartSession, EmailStartSMTPSession
emailUnreadMessage to read: only unread emailsEmailSeekFirst, EmailSeekFirstNotes, EmailReadLast, EmailReadLastHeader, EmailReadPreviousHeader, EmailReadFirstHeader, EmailReadNextHeader, EmailReadPrevious, EmailReadFirst, EmailReadNext
emailValidateByServerEmail address validation level: checks that the email server of the domain to which the address belongs accepts the address as input. The syntax of the email address is automatically checked (emailValidateSyntax constant).EmailCheckAddress
emailValidateSyntaxEmail address validation level: checks email address syntax. The TLD (Top Level Domain) is not checked.EmailCheckAddress
emailValidateSyntaxStrictEmail address validation level: checks the syntax of the email address and the TLD (Top Level Domain) against the list of existing TLDs.EmailCheckAddress
ertAsynchronousRetrieve the messages in asynchronous modeEmailGetAll
ertFullRetrieve the entire messages (header, body and attachments)EmailGetAll
ertHeaderRetrieve the headers of messagesEmailGetAll
ertNotReadRetrieve the messages marked as "unread".EmailGetAll
folderAppointmentType of file listed: appointment fileEmailListFolder
folderContactType of folder listed: Contact and contact group folderEmailListFolder
folderDraftType of folder listed: draft folderEmailListFolder
folderGenericListed folder type: generic folder (user-created)EmailListFolder
folderInboxType of folder listed: incoming emails folderEmailListFolder
folderLogType of folder listed: newspaper folderEmailListFolder
folderNoteType of file listed: notes fileEmailListFolder
folderOutboxType of folder listed: folder of emails waiting to be sentEmailListFolder
folderPersonalType of folder listed: root of "Personal folders" folderEmailListFolder
folderRecycleBinType of folder listed: deleted items folderEmailListFolder
folderSentEmailType of folder listed: sent emails folderEmailListFolder
folderTaskType of folder listed: task folderEmailListFolder
LstFolderAllList type: all filesEmailListFolder
LstFolderNormalType of list to be performed: folders containing Email onlyEmailListFolder
LstFolderSortedList sorting mode: sorted listEmailListFolder
LstFolderTypeDisplay the name and type of the folderEmailListFolder
optionSSLSpecifies whether an SSL connection is required.
In version 28 Update 4, this constant was replaced with the optionTLS constant.
EmailStartPOP3Session,, EmailStartIMAPSession,
EmailStartSMTPSession,
emailIMAPSession variable,
emailPOP3Session variable,
emailSMTPSession variable,
LDAPSession structure
optionTLSSpecifies whether an SSL connection is required.EmailStartPOP3Session, EmailStartIMAPSession,
EmailStartSMTPSession,
emailIMAPSession variable,
emailPOP3Session variable,
emailSMTPSession variable,
LDAPSession structure
outlookAPTWithContactContact / participant management mode: RendezVousXXX functions will list contacts associated with appointments in the mRendezVous.Participant variable.EmailStartOutlookSession,
OutlookStartSession
outlookAPTWithParticipantContact / participant management mode: The RendezVousXXX functions will list the participants associated with appointments in the variables:
  • mAppointment.Participant
  • mAppointment.ParticipantCc
  • mAppointment.ParticipantBcc
EmailStartOutlookSession,
OutlookStartSession
Minimum version required
  • Version 11
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help