On Wednesday, June 27, 2012 12:49:19 PM UTC-4, antonio wrote:
>
>
>
> The problem is the user data is commited to the database, but the mail 
> is not sent. 
> I want, if the mail cannot be sent, abort the transaction, rollback the 
> data flushed to the database and show a message to the user in a ordered 
> way... 
>
> How I can do this? 
>
> Greetings


Then you will run into the problem of having the mail already sent out if 
the database transaction fails to commit.

-- Jason
 

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/pylons-discuss/-/yaCyxfafY3QJ.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to