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

[Feature] Error simulation to reject messages #165

Closed
Davilink opened this issue Jul 31, 2019 · 3 comments
Closed

[Feature] Error simulation to reject messages #165

Davilink opened this issue Jul 31, 2019 · 3 comments

Comments

@Davilink
Copy link

Davilink commented Jul 31, 2019

The idea is having a way to simulate a email that cannot be sent.
We have functionality that display an error message to user if the email was unable to be sent but because we use the smtp4dev has a fake SMTP server, all email will be considered successfully sent and we cannot trigger our feature other than stopping the smtp manually when the Quality Assurance are testing this particular feature.

It would be nice to have a way to put a email address that will trigger an unable to sent email maybe in the appsettings or by cmdline.

@Davilink Davilink changed the title Simulate unable to send the email to a email address Simulate unable to send the email Jul 31, 2019
@rnwood rnwood changed the title Simulate unable to send the email [Feature] Error simulation to reject messages Feb 19, 2020
@rnwood
Copy link
Owner

rnwood commented Feb 19, 2020

Thanks for suggesting this. I think that this is a great idea and will consider it for the future once more basic functionality is out of the way.

@andre259
Copy link

andre259 commented Aug 10, 2023

Any further work on this idea? This would be very helpful, and it seems like it wouldn't be too hard to implement. Maybe let the user enter and email addresses and designate the error response it should generate?

@rnwood
Copy link
Owner

rnwood commented Apr 14, 2024

This has been implemented in PR #1377. See MessageValidationExpression in app settings.

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

No branches or pull requests

3 participants