Download the PHP package automad/mail without Composer
On this page you can find all versions of the php package automad/mail. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package mail
Automad Mail Extension
The Mail extension provides a basic wrapper for the PHP function mail(), including optional human verification using a honeypot.
Markup
The basic markup requires the method call as well as a contact form.
Note that the names of the form fields must match the following example:
<@ Automad/Mail { to: @{ email } } @>
<form action="@{ url }" method="post">
<!-- The honeypot - this input will be hidden by the included CSS -->
<input type="text" name="human" value="">
<!-- The actual form fields and button -->
<input type="text" name="from" value="" placeholder="Your Email">
<input type="text" name="subject" value="" placeholder="Your Subject">
<textarea name="message" placeholder="Your Message"></textarea>
<button class="uk-button" type="submit">Send</button>
</form>
Options
The following options can be specified:
Parameter | Description |
---|---|
to |
The receiving email address |
error |
The message to be displayed on errors |
success |
The message to be displayed on success |
A markup with all options specified:
<@ Automad/Mail {
to: @{ email },
error: 'Error Message ...',
success: 'Success Message ...'
} @>
All versions of mail with dependencies
PHP Build Version
Package Version
Requires
automad/package-installer Version
^1.1
The package automad/mail contains the following files
Loading the files please wait ....