Author |
|
abdullahseba Newbie
Joined: 25 March 2017 Location: United Kingdom
Online Status: Offline Posts: 6
|
Posted: 25 March 2017 at 5:40pm | IP Logged
|
|
|
Hi
I cant find anything in the docs to see if a message is read or not.
I want to make the subject bold if its unread or normal if read.
echo '
<tr>
<td><input type="checkbox"></td>
<td class="mailbox-star"><a href="#"><i class="fa fa-star text-yellow"></i></a></td>
<td class="mailbox-name"><a href="read-mail.html">'.$oFrom->ToString().'</a></td>
<td class="mailbox-subject"><b>'.$oMessage->GetSubject().'</b>
</td>
<td class="mailbox-attachment"><i class="fa fa-paperclip"></i></td>
<td class="mailbox-date">15 days ago</td>
</tr>
';
|
Back to Top |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 March 2017 at 3:10am | IP Logged
|
|
|
Hello,
Try using $oMessage->GetFlags method, it returns a list of flags for a message, and if it doesn't contain "\Seen" flag then the message is unread.
--
Regards,
Igor, AfterLogic Support
|
Back to Top |
|
|