Skip to content
This repository was archived by the owner on Feb 6, 2022. It is now read-only.

Spool Mail optional parameter #7

Closed
unairoldan opened this issue May 26, 2012 · 4 comments
Closed

Spool Mail optional parameter #7

unairoldan opened this issue May 26, 2012 · 4 comments

Comments

@unairoldan
Copy link

When you have the "spool email" feature enabled in your Symfony2 project, you can not send "normal" mails in the moment.
Would be a good option a parameter to sent the email in the moment, although the "spool feature" was enabled.

for example: $this->get('mailer')->send($message,false); // second parameter to disable spool feature

@fabpot
Copy link
Member

fabpot commented May 27, 2012

What would be the use case for that?

@unairoldan
Copy link
Author

Different situations:

User who just has been registered in the system -> Email in the moment
Use who received an internal notification (message or advise) -> Email in the moment

Send invitation to hundred of users via a night task, with name, link and data personalized -> Mail Spool
Send the newsletter to the users -> Mail Spool

Do you need to define a "formal" use case? Or is enough with this examples?

best regards,

@lstrojny
Copy link
Contributor

Isn’t that more something for the scenario described in #6; the ability to define more than one mailer?

@fabpot
Copy link
Member

fabpot commented Jun 25, 2012

Closing it in favor of #6

@fabpot fabpot closed this as completed Jun 25, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants