I think that this is a common need, I send a lot of emails from
actions and then do some redirect to other place on the application,
maybe this could be taken in account to some "patch" that show the
email sent in the first redirection or something more elegant. What do
you guys think?

On 17 sep, 02:38, "Sebastien Armand [Pink]" <khe...@gmail.com> wrote:
> Your crud generate module never sends a reply directly from the create and
> update actions.
> You are redirected either to the edit action or to the show action if you
> generated a module with the show option on.
>
> So the answer you send to the browser from inside "create" is only a http
> header with the "location" set to the url for the "edit" or "show" action.
>
> Then the debug toolbar that you see is the one from that second action.
>
> Everything can still be seen in the log though if you need it.
>
> On Thu, Sep 16, 2010 at 6:07 AM, Alan Bem <alan....@gmail.com> wrote:
> > Do you redirect?
>
> > 2010/9/15 Jorge Luis <betancourt.jo...@gmail.com>
>
> > Hi:
>
> >> It's normal that when we send an email from an action that don't have
> >> any associated template there is no notification of this in the Web
> >> debug toolbar?
>
> >> I'm sending a confirmation email from a create action (from a CRUD
> >> generated module) but i don't get any email icon on the Web debug
> >> toolbar, but if i send the email from the new action (that has a
> >> newSuccess.php template) the notification system works as a charm!.
>
> >> Is this normal?
>
> >> Greetings!
>
> >> --
> >> If you want to report a vulnerability issue on symfony, please send it to
> >> security at symfony-project.com
>
> >> You received this message because you are subscribed to the Google
> >> Groups "symfony users" group.
> >> To post to this group, send email to symfony-users@googlegroups.com
> >> To unsubscribe from this group, send email to
> >> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> >> For more options, visit this group at
> >>http://groups.google.com/group/symfony-users?hl=en
>
> >  --
> > If you want to report a vulnerability issue on symfony, please send it to
> > security at symfony-project.com
>
> > You received this message because you are subscribed to the Google
> > Groups "symfony users" group.
> > To post to this group, send email to symfony-users@googlegroups.com
> > To unsubscribe from this group, send email to
> > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en
>
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to