add contact form and mailing #6

Merged
csimonis merged 7 commits from feature/contact-form into main 2025-01-23 17:44:47 +00:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit f8e280f32f - Show all commits

2
.env
View File

@ -20,6 +20,6 @@ APP_SECRET=
###< symfony/framework-bundle ###
###> symfony/mailer ###
MAILER_DSN=${MAILER_DSN:-smtp://localhost:1025}
MAILER_DSN=smtp://${MAILER_USER:-null}:${MAILER_PASSWORD:-null}@${MAILER_HOST:-localhost}:${MAILER_PORT:-1025}
CONTACT_MAIL=${CONTACT_MAIL:-contact@localhost}
###< symfony/mailer ###

View File

@ -4,7 +4,6 @@ namespace App\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\Extension\Core\Type\EmailType;
use Symfony\Component\Form\Extension\Core\Type\SubmitType;
use Symfony\Component\Form\Extension\Core\Type\TextareaType;
use Symfony\Component\Form\Extension\Core\Type\TextType;
use Symfony\Component\Form\FormBuilderInterface;