With this behavior you can setup a mail to send to the user after the order is confirmed. This behavior must be used with the InsertOrder behavior. After the order is insert into the Db my php class verify if you setup the send mail in the same page and if yes create and send the mail.
Main folder
Remote Host
The remote SMTP host that the message will be sent through. This is typically an SMTP server located at your local ISP or it could be an internal SMTP server on your companies premises.
Port
Specifies the SMTP port number. 25 by default
Server LogIn
Used for SMTP authentication together with Password. Use the Username/Password properties if your SMTP server requires a mail client to supply authentication parameters.
Password
See comments to the property Server LogIn
Send method
The method to use to send messages. This depend on your server settings
Set the dynamic value for the field
Mail folder
In this folder you can setup the mail parameters
Fron Name
The message originator’s name.
From Mail
The message originator’s email address.
Reply Name
The ReplyName property allows you to specify a different message originator’s name that replies should be sent to.
Reply Mail
The ReplyMail property allows you to specify a different email address that replies should be sent to. By default mail programs should use the Reply-To: header for responses if this header is specified.
To Name
The message adresse’s name.
To Mail
The message adresse’s e-mail address.
Mail Format
Select the format of the body (Text format or Html format)
Return Receipt
The ConfirmReading flag. If this is a not null AND the recipients email program supports this feature (and it is enabled) the recipients email program will send a notice back to this EmailAddress confirming that this email has been read.
Priority
Sets the message priority.
Cc
Bcc
Body folder
In this folder you can setup the subject, the body header and the body footer of the mail.
Subject
The E-mail Subject
Body (Header)
The text you insert in this field will be added to the beginning of the mail message.
This text can be an html text to format the mail like you need
Body (Footer)
The text you insert in this field will be added to the end of the mail message.
This text can be an html text to format the mail like you need
In the 2 body fields you can add 2 special tag that will be replaced with the current value:
#OrderDate# replaced with the order date
#OrderId# replaced with the order Id
Remove VbCrLf
If checked replace the VbCRLf with a "<BR>" tag from the body mail.
You can use this option when you get the body value from a form TextArea.
Get the E-mail body from file.
The content of the file is immediately read and insert in the Body textarea so You can modify it immediately.
Set the dynamic value for the field to get value from a Db
Product folder
In this folder you can setup the repeat region of the mail body where display the list of products. Between the body Header and the body Footer my aso code create a table where display the list of product in the cart. In this folder you can setup the layout of this table.
Cart elements
All the cart column you define
Include
If checked the cart column is included in the e-mail
Header label
The text you want have in the header of the product table
Display order
You can define the position of the column in the products table
Numeric / Decimal
If checked format the value like numeric with the number of decimal you specify in the decimal field
Currency
The currency label
Details folder
In this folder you can setup the details of the mail. This value are added in the end of the ruduct table and in the order you can see them in this mage
Visible
If checked insert the field value in the bottom of the product table
Label
You can define the label displayed in the left of the field value.
Currency symbol
Currency Symbol: This formats the e-mail using this currency symbol you may change this to what ever currency system you are using like £,€,¥ , DM, etc...
Currency position
Before
| After |
$ 35.99 DM 35,58 | 35.99 $ 35,58 DM |
Currency decimal
This argument allows you to choose the number of digits after the decimal that are displayed.
Setup folder
In this folder you can setup some graphics value for the product table mail.
You can define the value for 2 main part of the table, the header and theproduct rows.
This is an example of mail you can create: