Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing email in Symfony #5058

Closed
mbohal opened this issue Jul 5, 2018 · 1 comment
Closed

Testing email in Symfony #5058

mbohal opened this issue Jul 5, 2018 · 1 comment

Comments

@mbohal
Copy link
Contributor

@mbohal mbohal commented Jul 5, 2018

What are you trying to achieve?

I would like to have more fine grained controls over testing sent emails in the Symfony module.

What do you get instead?

We can only test if any email was sent. I would like to be able to check:

  • if no email was sent
  • number of emails sent
@mbohal
Copy link
Contributor Author

@mbohal mbohal commented Jul 5, 2018

If there would be interest, I would be willing to improve this further to check things such as:

  • subjectContains
  • bodyContains
  • to, cc, bcc
  • ???

The API for that is not trivial though and I don't have time for it right now. In general, would there be interest in such PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.