Return to Edit Form mode, and this time select the Events-tab.

Right-click the Form Record Change, and select Add Action from the drop down. At the dialog box that then opens, select from the 'Action Type' drop-down [Form record change email] - nC will enter this as the Action Name - and click [OK]. The Events display will refresh and show the 'Form record change email' in the Events-tree.
Right-click the 'Form record change email' in the Events-tree and select [Properties] - the Email Editor will open.
The Email Editor allows you to construct the email that is sent by the website. You can directly enter information, and also embed data collected by the form. For our simple example, we will create an email that sends the form data to an imaginary someone in Support at your domain.
Some entries will always be the same, in this case, the To: Address will always be to support@mydomain.com and the Subject: will always be Website Enquiry.
We want the email to appear as if it has come from the Visitor, using the information collected from the website form. So at the From: Address we use the [choose an embed option] from the menu at the top of the Editor, and select 'Form Field - Email Address'.
Similarly, in the body of the email we mix directly entered texts with embedded form information to construct the email. The Form Field options refer to the information entered on the Form.
You should construct your email using your own appropriate email address. When you have completed the email, click [Apply], then [OK] back to the Event-tab.
You can now test your form by logging out, and visiting the form again.
Moving on - tapping the power of nC: working with Queries and Views
More information
neatComponents includes an SMTP server to send email messages direct 'server-to-server'.
You can also configure nC to send email messages to your Internet Service Provider for onward delivery.
You configure this setting at the Service Manager | Server node (right-click):
Mail Server: smtp.myisp.com Mail Server Port: 25
You may also add SMTP Authentication and change the SMTP port if you need to. |