This is the type of operation that allows the form to be sent as mail.
Send e-mail (Form) operation at Property Panel
Description: A description of the action is written.
Heading: Specifies the name in the action list when added as a Form Action.
File Format: The format of the attached file to be sent with Mail is selected.
Design File: The name of the attached file to be sent by mail is either written or found with a SQL query.
To Whom: The information to whom the mail will be sent is written or found with the SQL query. (email)
Information: Mail information is written to the information to whom it is sent or is found with the SQL query. (email)
Subject: The mail topic is written or found with the SQL query.
Sender Mail – 1(*Mail) 2(*Host) 3(*Password) 4(Display Name) 5(User Name) 6(SSL) 7(Port): The information of the mail address that will send the mail is written. If null is used, it uses the information in the system parameters.
Files to be Added (File Name, File Content): Mail is a section that allows you to send files attached to the form with the file attachment control. The files are found by the query. (from XPODA_FILES)
Content: Mail content is written.
Html File: If there is an HTML file designed for the mail body, the name of the file is written. The file location should be under the Uploads \ Email folder in the program’s working directory.
Confirmation Form: If an approval is required with mail, the form to be opened is selected after clicking the approval link.
Confirmation ID Field: The field where the id information from the mail will be written with the confirmation link is selected.
Linked List: A list selection is made in the form. The information on the selected line of the relevant list is used for sending mail.
Confirmation User: After the confirmation link is clicked, the user code to be used to enter the system is written. If it is empty, the user input screen is displayed.
Confirm Password: After clicking the confirmation link, the password of the user to be used for logging in is entered.
Send to Approval: Specifies whether to include a confirmation link in the mail content.
Link Text: The text of the confirmation link to be added to the mail content is written.
Info Mail CC: Info mails send or do not send.
Not Information Message: Hides completed information.
Run Condition: If the value in the query entered in this field is ‘0′, the corresponding action will not run.
Request Confirmation: Select whether to ask for confirmation before running the action. If Request Confirmation is activated, the Confirmation Message feature is turned on and the message that will be displayed when requesting confirmation is written.
There is a button on the form. The button has a Send email(Form) operation with When clicked event. A design file is sent with the name of the design in the Design File area. To Whom area is written from XPODA_CLIENT_USERS. (You can also write as SELECT ‘firstname.lastname@example.org’ ) . The subject area is written as a text. The content property area is written.
When the Send Mail button is clicked, if data are correct, the message seems on the screen.
The message of the operation on the Client screen
In the mail body you have sent, you can send the image fields on your form page by adding $P.
The $P statement written at this point must be made from the image field in the mail body. Otherwise, the image will not appear in the mail, only a text in the form of $Picture will appear.
Example usage and details are as follows.
The Send Mail action is reached and the E-Mail content button is clicked.
Go to the Mail Editor that opens and click the Add image button as seen in the picture below.
From the pop-up screen that opens, the name of the picture field in the form should be written with $P in the Internet address field.
Then, the size of the image to be sent in the mail is entered in the width - height field and the add button is clicked.
Note: In this action, all data in the form is directed to the service. If a large picture is added to the Picture field in the form, it may take a long time to direct it to the service. Accordingly, there will be delays in the use of the send mail action.