User receive a mail when create an account in skintrack#24
Conversation
There was a problem hiding this comment.
Pull request overview
This PR implements a welcome email feature that sends an automated email to users when they create an account in SkinTrack. The implementation adds email functionality using Symfony Mailer with MailHog for local development.
Changes:
- Adds
UserMailerservice to send welcome emails using templated email - Integrates email sending into the registration flow in
RegistrationController - Creates a responsive HTML email template for the welcome message
Reviewed changes
Copilot reviewed 9 out of 11 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| src/Service/UserMailer.php | New service that handles sending welcome emails with TemplatedEmail |
| src/Controller/RegistrationController.php | Integrated UserMailer to send welcome email after user registration |
| templates/welcome.html.twig | HTML email template with styling for welcome message |
| tests/Unit/UserMailerTest.php | Unit test for UserMailer service |
| config/services.yaml | Service configuration for UserMailer with fromAddress parameter |
| config/packages/mailer.yaml | Mailer configuration using MAILER_DSN environment variable |
| .env | Added mailer configuration with SMTP DSN and sender email |
| docker-compose.yml | Exposed SMTP port 1025 for MailHog service |
| composer.json | Added symfony/mailer 7.2.* dependency |
| composer.lock | Lock file updates for mailer and mime dependencies |
| symfony.lock | Added symfony/mailer recipe configuration |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 11 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 9 out of 11 changed files in this pull request and generated no new comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
No description provided.