Mail Editor: General Information

The mail editor control consists of a text field and a button in the UI. In the text field, a user can enter an email address. You can assign an action to the button. If you do not specify an action, then by default, the button launches the default mail client application that is configured on the system running the MYOB Acumatica instance.

A mail editor is defined by PXMailEdit in the Classic UI. In the Modern UI, you define a mail editor either by using the field tag with the control type specified or explicitly by using the qp-mail-editor control.

Learning Objectives

In this chapter, you will learn the following about the mail editor:

  • The common uses of the mail editor
  • The proper configuration of the mail editor

Applicable Scenarios

You configure the mail editor when you want to give a user the ability to enter an email address and execute the appropriate action by clicking the button of this control.

Uses of the Mail Editor

You generally use the mail editor control on forms that store an email address. As mentioned, you can specify an action for the button associated with this control. Typically, this action launches either the default email client application of your system or the Email Activity (CR306015) form in a pop-up window.

The following screenshot shows an example of the mail editor control on the General tab of the Customers (AR303000) form.

Item 1 in the following screenshot shows the text field of the control, in which the user types an email address. Item 2 shows the button associated with the control, which the user clicks to execute the action you have configured.

Figure 1. The Mail Editor control on the Customers form


The following screenshot shows the result of the user clicking the button of the control shown in the previous screenshot: The action specified for the button has opened the Email Activity form in a pop-up window. Notice that the email address that was specified in the text field of the control in the preceding screenshot has been automatically inserted into the To box.

Figure 2. The pop-up window with the Email Activity form