ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

Category: Managing emails
121 results
<Email variable>.BuildSource (Function)
Generates the source code of the email to send from an Email variable.
<Email variable>.ExportHTML (Function)
Retrieves the HTML code of an email to display it in an HTML control (HTML control, HTML Display control, etc.).
<Email variable>.ImportHTML (Function)
Imports, into the Email structure or into an Email variable, the content of an HTML file in order to send it by email.
<Email variable>.ImportSource (Function)
Fills an Email variable using the content of its Source property.
<Email variable>.LoadAttachment (Function)
Adds an attached file to an email.
<emailAttach variable>.SaveAttachment (Function)
Copies the current email attachment to the user's computer.
<emailIMAPSession variable>.AddFolder (Function)
Adds a folder into the messaging software using IMAP (Internet Message Access Protocol), ...
<emailIMAPSession variable>.ChangeFolder (Function)
Modifies the current folder in the messaging software using the IMAP, ...
<emailIMAPSession variable>.CloseSession (Function)
Closes an IMAP session.
<emailIMAPSession variable>.CurrentFolder (Function)
Returns the name of the current folder in the messaging software using IMAP (Internet Message Access Protocol).
<emailIMAPSession variable>.ExecuteCommand (Function)
Sends an IMAP command to the mail server.
This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 2.
<emailIMAPSession variable>.Expunge (Function)
Destroys all the deleted emails marked as deleted ("Deleted" status) from the current folder of IMAP session.
<emailIMAPSession variable>.ListFolder (Function)
Returns the list of folders of an IMAP session.
<emailIMAPSession variable>.NbMessage (Function)
Returns the number of incoming messages in an IMAP session.
<emailIMAPSession variable>.RemoveFolder (Function)
Deletes a folder on an IMAP server.
<emailIMAPSession variable>.StartSession (Function)
Starts an IMAP session.
<emailIMAPSession variable>.SubscribeToFolder (Function)
Adds an existing folder to the list of subscribed folders.
This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 2.
<emailIMAPSession variable>.UnsubscribeFromFolder (Function)
Removes a folder from the list of subscribed folders.
This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 2.
<EmailIMAPSession>.GetAll (Function)
Retrieves all the emails found on an IMAP server.
<emailNotesSession variable>.CloseSession (Function)
Closes a Notes session.
<EmailNotesSession variable>.GetAll (Function)
Retrieves all the emails found on a Notes server.
<emailNotesSession variable>.NbMessage (Function)
Returns the number of incoming messages in Notes.
<emailNotesSession variable>.SendMessage (Function)
Sends an email using the Lotus Notes protocol.
<EmailNotesSession variable>.StartSession (Function)
Starts a Notes session.
<emailOutlookSession variable>.AddFolder (Function)
Adds a folder into the Outlook messaging software.
<emailOutlookSession variable>.ChangeFolder (Function)
Modifies the current folder in the Outlook messaging software.
<emailOutlookSession variable>.ChangeStatus (Function)
Changes the status of an email on a messaging server.
<emailOutlookSession variable>.CloseSession (Function)
Closes an Outlook session.
<emailOutlookSession variable>.CurrentFolder (Function)
Returns the name of the current folder in the Outlook messaging software.
<EmailOutlookSession variable>.GetAll (Function)
Retrieves all the emails found on an Outlook server.
<emailOutlookSession variable>.ListFolder (Function)
Returns the list of folders found in the Outlook messaging software.
<emailOutlookSession variable>.NbMessage (Function)
Returns the number of incoming messages in Outlook.
<emailOutlookSession variable>.RemoveFolder (Function)
Deletes a folder from the Outlook messaging software.
<emailOutlookSession variable>.SendMessage (Function)
Sends an email using the Outlook protocol.
<EmailOutlookSession variable>.StartSession (Function)
Starts an Outlook section.
<EmailOutlookSession variable>.Update (Function)
Updates the messages of MS Exchange according to the email server.
<emailPOP3Session variable>.CloseSession (Function)
Closes a POP3 session.
<EmailPOP3Session variable>.GetAll (Function)
Retrieves all the emails found on a POP3 server.
<emailPOP3Session variable>.NbMessage (Function)
Returns the number of incoming messages on the email server (POP3 protocol only).
<emailPOP3Session variable>.StartSession (Function)
Starts a POP3 session.
<emailSessionIMAP variable>.ChangeStatus (Function)
Changes the status of an email on a messaging server.
<emailSMTPSession variable>.CloseSession (Function)
Closes an SMTP session.
<emailSMTPSession variable>.SendMessage (Function)
Sends an email using SMTP
<emailSMTPSession variable>.StartSession (Function)
Starts an SMTP session.
Accessing Lotus Notes
WINDEV and WINDEV allow you to easily access the data handled by Lotus Notes (Domino database)...
Accessing Outlook
WINDEV and WEBDEV allow you to easily access the data handled by Outlook...
CloseSession (Function)
Closes a session with Lotus Notes or Outlook.
Email constants
List of constants used by email functions.
Email functions
List of functions for managing emails
Email (Variable type)
The Email type is used to handle the email content as well as the associated information.
EmailAddFolder (Function)
Adds a folder into the messaging software (Outlook, messaging software using the IMAP protocol (Internet Message Access Protocol), ...).
EmailAppGetArchitecture (Function)
Gets the architecture (32 or 64-bit) of a computer's default email client.
emailAttach (Variable type)
The emailAttach type is used to handle an attachment.
EmailBuildSource (Function)
Generates the source code of the email message to be sent from the variables in the Email structure or in an Email variable.
EmailChangeFolder (Function)
Modifies the current folder in the messaging software (Outlook, messaging software using the IMAP protocol, ...).
EmailChangeStatus (Function)
Changes the status of an email on a messaging server.
EmailCheckAddress (Function)
Checks the validity of an email address.
EmailCloseSession (Function)
Closes an email management session depending on the selected mode (SMTP/POP3, IMAP, MS Exchange or Lotus Notes).
EmailConfigure (Function)
Used to configure WLanguage email management functions.
EmailCopy (Function)
Copies an email found in a directory to another directory of an IMAP server.
EmailCurrentFolder (Function)
Returns the name of current folder in the messaging software (Outlook, messaging software using the IMAP protocol (Internet Message Access Protocol), ...).
EmailDeleteMessage (Function)
Deletes the current email using the current protocol (POP3, IMAP, MS Exchange, Lotus Notes or Outlook).
EmailExecuteCommand (Function)
Sends an IMAP command to the mail server.
This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 2.
EmailExportHTML (Function)
Retrieves the HTML code of an email to display it in an HTML control (HTML control, HTML Display control, etc.).
EmailExpunge (Function)
Destroys all the deleted emails marked as deleted ("Deleted" status) from the current folder of IMAP session.
EmailExtract (Function)
Returns the different elements of an email address: username, domain, TLD (Top Level Domain).
Versions 2026 and later
Note: This function is only available from version 2026 - Update 1.
Subscription-exclusive new feature
Note: This function is only available from version 2026 - Update 1.
New in version 2026
Note: This function is only available from version 2026 - Update 1.
Note: This function is only available from version 2026 - Update 1.
EmailGetAll (Function)
Retrieves all the emails found on a server.
EmailGetIndicator (Function)
Retrieves the indicators defined on an email of IMAP session.
EmailGetTimeOut (Function)
Reads the value of the "timeout" for connecting to the SMTP, POP3 and IMAP messaging servers.
emailHeader (Variable type)
The emailHeader type is used to retrieve or define the additional email headers.
emailIMAPSession (Variable type)
The emailIMAPSession type is used to access a messaging server by using the IMAP protocol (Internet Access Message Protocol) in order to retrieve the messages found on this server.
EmailImportHTML (Function)
Imports, into the Email structure or into an Email variable, the content of an HTML file in order to send it by email.
EmailImportSource (Function)
Populates an Email variable using the content of its Source property or the different variables of the email structure using the content of the Email.Source variable.
EmailListFolder (Function)
Returns the list of folders:
  • found in the Outlook messaging software.
  • for an IMAP session.
EmailLoadAttachment (Function)
Adds an attached file to an email.
EmailMessageLength (Function)
Calculates the size of specified message (without loading the message).
EmailMsgError (Function)
Returns the message corresponding to the error identifier.
EmailNbMessage (Function)
Returns the number of incoming messages currently found:
  • on the email server (POP3 protocol only).
  • in the Outlook messaging software.
emailNotesSession (Variable type)
The emailNotesSession type is used to access a Lotus Notes messaging server in order to retrieve the messages found on this server and to send messages.
emailOutlookSession (Variable type)
The emailOutlookSession type is used to handle the Outlook messaging software (emails, contacts, groups of contacts, tasks, appointments and folders).
emailPOP3Session (Variable type)
The emailPOP3Session type is used to access a messaging server by using the POP3 protocol (Post Office Protocol) in order to retrieve the messages found on this server.
EmailProgressBar (Function)
Manages a progress bar while sending and receiving emails.
EmailReadFirst (Function)
Reads the first incoming email according to the protocol used (POP3 or IMAP, MS Exchange, Lotus Notes or Outlook).
EmailReadFirstHeader (Function)
Reads the header of the first incoming email according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook).
EmailReadLast (Function)
Reads the last incoming email according to the protocol used (POP3 or IMAP, MS Exchange, Lotus Notes or Outlook).
EmailReadLastHeader (Function)
Reads the header of the last Email received, depending on the protocol used (POP3 or IMAP, Lotus Notes or Outlook).
EmailReadMessage (Function)
Reads an incoming according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook).
EmailReadMessageHeader (Function)
Reads the header of an incoming email according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook).
EmailReadNext (Function)
Reads the incoming email found after the current email according to the protocol (POP3 or IMAP, MS Exchange, Lotus Notes or Outlook).
EmailReadNextHeader (Function)
Reads the header of the email found after the current email according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook).
EmailReadPrevious (Function)
Reads the email found before the current email according to the protocol used (POP3 or IMAP, MS Exchange, Lotus Notes or Outlook).
EmailReadPreviousHeader (Function)
Reads the header of the email found before the current email according to the protocol used (POP3 or IMAP, Lotus Notes or Outlook).
EmailRemoveFolder (Function)
Deletes a folder from the Outlook messaging software or from an IMAP server.
EmailReset (Function)
Resets all the variables of the email structure or all the variables of an Email variable.
EmailRunApp (Function)
Starts the native email application on the current computer:
  • Computer running Windows,
  • Mobile device (Android, iPhone, iPad).
EmailSaveAttachment (Function)
Copies the attachment of current email onto the user computer (locally).
EmailSeekFirst (Function)
Finds one or more emails according to the criteria specified in the messaging software (Outlook, messaging software using the IMAP protocol, ...).
EmailSeekFirstNotes (Function)
Seeks one or more emails according to specified criteria, in a local or remote Lotus Notes or Domino database.
EmailSend (Function)
Sends an email via the SMTP protocol while controlling the "buffer" of the email.
EmailSendMessage (Function)
Sends an email using a given protocol (SMTP, MS Exchange, Lotus Notes, Outlook).
EmailSetTimeOut (Function)
Changes the value of the "timeout" for connecting to the SMTP, POP3 and IMAP messaging servers.
emailSMTPSession (Variable type)
The emailSMTPSession type is used to access a messaging server by using the SMTP protocol (Simple Mail Transfer Protocol) in order to send emails.
EmailStartIMAPSession (Function)
Starts a session for receiving and reading emails with the IMAP protocol.
EmailStartNotesSession (Function)
Allows you to access the data handled by the Lotus Notes messaging (emails, contacts, groups of contacts, tasks, appointments).
EmailStartOutlookSession (Function)
Allows you to access data handled by the Outlook messaging software (emails, contacts, groups of contacts, tasks, appointments and folders).
EmailStartPOP3Session (Function)
Starts a session for receiving and reading emails with the POP3 protocol.
EmailStartSession (Function)
Starts an email management session based on the selected management mode (POP3, SMTP, IMAP or MS Exchange).
EmailStartSMTPSession (Function)
Starts a session for sending emails with the SMTP protocol.
EmailStatus (Function)
Returns the status of an email sent via an SMTP session started in asynchronous mode.
EmailSubscribeToFolder (Function)
Adds an existing folder to the list of subscribed folders.
This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 2.
EmailUnsubscribeFromFolder (Function)
Removes a folder from the list of subscribed folders.
This function is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 2.
EmailUpdate (Function)
Updates the messages of MS Exchange according to the email server.
Functions for managing emails (prefix syntax)
List of functions for managing emails
IMAP protocol
The IMAP protocol is a standard protocol for managing emails...
Managing emails with "Simple MAPI"
Simple MAPI simplifies the management of emails received by the hosting provider...
Managing the emails with the POP3/SMTP protocols
The POP3 and SMTP protocols are protocols for email management recognized by all Internet Service Providers...
OutlookStartSession (Function)
Allows you to access data handled by the Outlook messaging software (emails, contacts, groups of contacts, tasks, appointments and folders).
Reading an email
This help page explains how to read an email from a WINDEV application and how to display its content in a WINDEV application.
Sending and receiving emails
WINDEV, WEBDEV and WINDEV Mobile allow you to directly manage the emails from your applications...
The email structure
The email structure is a preset structure of WLanguage (no declaration is required)...
Writing an email
Writing an email in WLanguage consists in filling the email structure of WLanguage...