Skip to content

User receive a mail when create an account in skintrack#24

Merged
chloecasali merged 9 commits intomainfrom
18-user-receive-a-mail-when-create-an-account-in-skintrack
Jan 31, 2026
Merged

User receive a mail when create an account in skintrack#24
chloecasali merged 9 commits intomainfrom
18-user-receive-a-mail-when-create-an-account-in-skintrack

Conversation

@chloecasali
Copy link
Copy Markdown
Owner

No description provided.

@chloecasali chloecasali linked an issue Jan 30, 2026 that may be closed by this pull request
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 UserMailer service 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.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@chloecasali chloecasali merged commit c06b863 into main Jan 31, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

User receive a mail when create an account in SkinTrack

2 participants