# adding  items in sent items page

**URL:** <https://discuss.rubyonrails.org/t/adding-items-in-sent-items-page/34213>\
**Category:** rubyonrails-talk\
**Created:** [September 11, 2008, 12:12pm UTC](https://discuss.rubyonrails.org/t/adding-items-in-sent-items-page/34213 "2008-09-11T12:12:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [September 11, 2008, 12:12pm UTC](https://discuss.rubyonrails.org/t/adding-items-in-sent-items-page/34213/1 "2008-09-11T12:12:59Z")

</div>

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,

&nbsp;&nbsp;def sent\_items &nbsp;&nbsp;&nbsp;&nbsp;@products = current\_user.products &nbsp;&nbsp;&nbsp;&nbsp;@user = current\_user &nbsp;&nbsp;&nbsp;&nbsp;@address\_list = "" &nbsp;&nbsp;&nbsp;&nbsp;@counter = 0 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end

thanks for your help

---

<div class="post-metadata">

**Author:** ![Christian1](https://sea2.discourse-cdn.com/rubyonrails/user_avatar/discuss.rubyonrails.org/christian1/32/9663_2.png) [@Christian1](https://discuss.rubyonrails.org/u/Christian1)\
**Post date:** [September 12, 2008, 4:34pm UTC](https://discuss.rubyonrails.org/t/adding-items-in-sent-items-page/34213/2 "2008-09-12T16:34:45Z")

</div>

> 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?

---

<div class="post-metadata">

**Author:** ![11175](https://avatars.discourse-cdn.com/v4/letter/1/8edcca/32.png) [@11175](https://discuss.rubyonrails.org/u/11175)\
**Post date:** [September 14, 2008, 6:19pm UTC](https://discuss.rubyonrails.org/t/adding-items-in-sent-items-page/34213/3 "2008-09-14T18:19:08Z")

</div>

Christian Rishøj wrote:
