adding items in sent items page

am in the process of developing a small application in which i
want mails to be sent out whenever a customer purchases a
product.mails can now be sent but i cannot see them in my sent
items page at the moment.

this is my method in the controler,

  def sent_items
    @products = current_user.products
    @user = current_user
    @address_list = ""
    @counter = 0
                end

thanks for your help

am in the process of developing a small application in which i
want mails to be sent out whenever a customer purchases a
product.mails can now be sent but i cannot see them in my
sent
items page at the moment.

You cannot see what, exactly? The mails that have been sent?

Christian Rishøj wrote: