ar_mailer, class Email : add field to the table?

Hi,

I use ar_mailer to send emails from my application. I want to build a page where the admin case see the queue of mails and the possibility of remove some mail in the queue if he wants. The email in the queue are save in the AR model Email. I have an AR model Sent where i save the email that the user sent. I would like to add to the model Email a column to save the id of the corresponding Sent. Is it possible ? I can add the column sent_id in the table emails but how can i fill it ? I just use a method deliver_XXX to put the email in the queue, where can i write the instruction to fill the field sent_id ??

Thanks for your help :slight_smile:

adrien

up