The Autoreply addon enhances your Statamic forms by automatically sending customizable email replies to form submissions. It simplifies engagement with users by promptly acknowledging their submissions with personalized messages.
Key Features
- Automatic Email Replies: Automatically sends a reply to form submissions with a customizable message.
- Customizable Email Templates: Allows users to personalize email templates using Markdown for a unique touch.
- Conditional Submission Number Inclusion: Option to include the submission number in the email if configured.
- Attachment Support: Supports attaching files to automatic reply emails.
- Support for Multiple Forms: Configure automatic replies for multiple forms within your Statamic site.
Screenshots
Installation
To install the Autoreply addon, use Composer:
composer require thirtybittech/autoreply
Publish the addon assets and configuration if it has not already published.:
php artisan vendor:publish --tag=autoreply-config
If you wish to customize email views, publish them using:
php artisan vendor:publish --tag=autoreply-views
Configuration
Configuration for Autoreply is located in config/autoreply.php
. Customize settings here to tailor the addon to your needs. Ensure valid SMTP settings are configured in your Statamic environment for email functionality.
Usage
- Make sure SMTP is working.
- Create a form in Statamic and configure it to use the Autoreply addon.
- Add configuration for each form for auto reply.
- Test the Autoreply functionality by submitting the form and verifying that the automatic email replies are sent as expected.