[h2]What the module does[/h2]

“Contact form” gives the site a contact page with a form (address /contact, menu item “Contact us”). A message is saved in the database and sent by mail, so nothing is lost while mail is not set up. Bots are filtered out without picture puzzles; the send rate is limited, and sending too often gets the refusal “Too often”.

[h2]What the visitor sees[/h2]

[list]
[*]The form: name, email (the reply goes there, it is used for nothing else), subject, message; optionally a phone number and a “Who to write to” list.
[*]Text above the form and a note under it (for example, about personal data), with a consent checkbox if you wish.
[*]If the name or subject contains a link, an administrator looks at the message first.
[*]An “we received your message” auto-reply, if you turned it on.
[/list]

[h2]What the owner does[/h2]

[list]
[*]Messages are in “Messages from the site”: unread and unanswered ones are highlighted, and their count shows in the panel overview. You can mark “I have replied”, select several and move them to trash, download CSV.
[*]“Reply by mail” answers right from the panel; canned replies help. Internal staff notes can be added to a message.
[*]“Send to the owner again” repeats the mail if it did not arrive. If the site mail is not set, the panel warns you.
[*]Permissions: “View messages” and “Handle messages”.
[/list]

[h2]What can be set[/h2]

The section is called “Contact settings”, with the groups “Form” and “Requests”.

[list]
[*][b]Send messages to[/b]: empty — the site mail from the general settings is used.
[*][b]Text above the form, Note under the form, Consent as a checkbox[/b].
[*][b]“Phone” field[/b]: do not ask, optional, required.
[*][b]Departments to choose in the form[/b]: one “Name | address” per line, at most eight; from two departments the form shows a choice.
[*][b]Canned replies[/b]: snippets are separated by a line `---`, the first line of a snippet is its name, [name] inserts the author’s name.
[*][b]Auto-reply[/b]: subject and text. The mail holds only your text, without substitutions, because the address may be someone else’s; at the bottom the mail itself explains why it came.
[*][b]Keep messages, days[/b]: older ones are erased, unanswered included, together with notes. 0 — no limit.
[/list]

[h2]Personal data[/h2]

Messages and staff notes are part of a person’s personal-data export and are erased with it.

[h2]For the template developer[/h2]

The page and form are printed by the module’s templates; the form texts come from the settings, not from the template. Templates get the form as the tag `feedback::form` (data: title, intro, agreement).

[h2]Where next[/h2]

[list]
[*][url=admin:feedback]Messages from the site[/url]
[*][url=admin:modules]System → Modules[/url] — turn the module off or on: the contact page disappears, the messages stay
[/list]
