Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add a mailer:test command#47040

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fabpot merged 1 commit intosymfony:6.2fromfabpot:mailer-command
Jul 24, 2022
Merged

Add a mailer:test command#47040

fabpot merged 1 commit intosymfony:6.2fromfabpot:mailer-command
Jul 24, 2022

Conversation

@fabpot
Copy link
Member

QA
Branch?6.2
Bug fix?no
New feature?yes
Deprecations?no
TicketsFix#43687,Fix#39173,Fix#37409
LicenseMIT
Doc PR

This PR introduces amailer:test command that helps test if sending emails works correctly.
The only argument is theTo header. Everything is optional.
There is no support for complex emails (STDIN for body, HTML support, attachments, ...) as the goal is to test if a transport works correctly.

Note that this command bypasses the Messenger bus if configured to ease testing even when the messenger consumer is not running.

fritzmg reacted with hooray emoji
@fabpotfabpot merged commitebe3cf8 intosymfony:6.2Jul 24, 2022
@fabpotfabpot deleted the mailer-command branchJuly 24, 2022 08:21
@alexander-schranz
Copy link
Contributor

alexander-schranz commentedJul 26, 2022
edited
Loading

Nice 👍 was searching for an alternative ofswiftmailer:send:email command. First was sad when I found the closed#37409 issue. Know very happy this is coming with 6.2 🎉 .
This really helps when having issues with smpt server to check if error of a not send email is in the smtp configuration or in the application itself.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dunglasdunglasdunglas approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

6.2

Development

Successfully merging this pull request may close these issues.

[Mailer] Send email command

4 participants

@fabpot@alexander-schranz@dunglas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp