Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,155 of 9,155 pages
About the help in other languages
All help pages

Mail to receivers

Who gets a mail when a form built with Exponential's information collector is sent - the default receiver, a receiver per form, the mail templates, sending settings, testing with the file transport, and what not to put…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/government/building/forms/mail-to-receivers.md

On this page

Mail to receivers

This page is for website creators and administrators who decide where form submissions are mailed. Collections are always stored in the database (Setup > Collected information); the mail is a copy for the team that handles them. Sources: Forms with the information collector and 10.4 Mail.

Contents

  1. Who receives the mail
  2. The mail templates
  3. Sending settings
  4. Testing without sending
  5. Good practice

Who receives the mail

LevelSettingUse
Whether to mail at allcollect.ini [EmailSettings] SendEmail (enabled), SendEmailList[<type>] (polls: disabled)per form type
Default receiversite.ini [InformationCollectionSettings] EmailReceivera general mailbox
Per forma recipient attribute (Email) on the form object, used by the ezwebin mail templateseach form mails its own team
In your own templates{set-block scope=root variable=email_receiver}...{/set-block} in the mail templateany rule you need

The shipped Feedback form class (feedback_form) has a Recipient attribute that editors fill; with the ezwebin mail template (extension/ezwebin/design/ezwebin/templates/content/collectedinfomail/feedback.tpl) the mail goes there.

The mail templates

TemplatePurpose
content/collectedinfomail/<type>.tplthe mail body for the type (form, feedback, poll)
content/collectedinfo/<type>.tplthe page the visitor sees after sending (with Display=result)

Override them in your design (Template overrides) to give the mail a clear subject ("New report: <form name>"), the values in a readable order and a link to the collection in the administration.

Sending settings

site.ini [MailSettings]:

KeyValues
Transportsendmail, SMTP or file
TransportServer, TransportPort, TransportConnectionType, TransportUser, TransportPasswordyour SMTP relay
AdminEmail, EmailSenderthe sender address

Use your organization's mail relay; the sender domain must be allowed to send (SPF, DKIM, DMARC are configured on the mail side). Put passwords in settings/override/ and keep them out of version control.

Testing without sending

Transport=file writes each mail to var/log/mail/ (or [MailSettings] FileTransportDirectory) instead of sending it. Use it on test and staging installations, and check the files:

ls -lt var/log/mail/ | head

Use test addresses on a reserved domain (for example example.invalid) in test forms; never real people's addresses.

Good practice

PracticeWhy
Mail to shared team mailboxes, not personal onesstaff change; holidays
Keep the mail short, with a link to the collection, when submissions hold sensitive datamail is copied, forwarded and kept long
Do not send the visitor's message back to the visitor's address automaticallyanyone can type someone else's address; it turns your form into a spam relay
Remove the mailbox copies on the same schedule as the collectionsRetention of collected information

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x