# Set whether the mail is read or not

**URL:** <https://www.ruby-forum.com/t/set-whether-the-mail-is-read-or-not/152756>\
**Category:** Rails\
**Created:** [November 7, 2008, 5:44am UTC](https://www.ruby-forum.com/t/set-whether-the-mail-is-read-or-not/152756 "2008-11-07T05:44:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ishara\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/e68b1a/32.png) [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Post date:** [November 7, 2008, 5:44am UTC](https://www.ruby-forum.com/t/set-whether-the-mail-is-read-or-not/152756/1 "2008-11-07T05:44:55Z")

</div>

i have a model called Reply which includes  
user\_id, msg\_id, msg,date,read\_or\_not

when a user read a mail i want to set the  
read\_or\_not variable true,

---

<div class="post-metadata">

**Author:** ![Ishara\_G](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/e68b1a/32.png) [@Ishara\_G](https://www.ruby-forum.com/u/Ishara_G)\
**Post date:** [November 7, 2008, 11:23am UTC](https://www.ruby-forum.com/t/set-whether-the-mail-is-read-or-not/152756/2 "2008-11-07T11:23:28Z")

</div>

> when a user read a mail i want to set the  
> read\_or\_not variable true,

What kind of mail? Something internal of your application?  
Or “real” email, that you send to them? You don’t get a reply  
for emails, at least not in a very reliable manner.
