2009/7/27 Sebastian Krzyszkowiak <span dir="ltr">&lt;<a href="mailto:seba.dos1@gmail.com">seba.dos1@gmail.com</a>&gt;</span> <div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I didn&#39;t work at folders yet. To differ between incoming and sent,<br>
just query for {&#39;Direction&#39;:&#39;in&#39;} or {&#39;Direction&#39;:&#39;out&#39;}<br>
<br>
NewMessage notifies about every message added to database. It&#39;s<br>
emitted at boot when reading messages from db, and it&#39;s emmited after<br>
adding message by Add method. It&#39;s also emitted on incoming message.<br>
<br>
IncomingMessage notifiers only about new incoming message.<br>
<br>
Add just adds message to default backend. opimd can&#39;t send messages<br>
(and I don&#39;t know if it should, but that&#39;s topic to discuss by FSO<br>
guys). So use Add to store sent messages or drafts.<br>
<font color="#888888"></font></blockquote><div><br> If I send a message using the GSM.SMS service, will it automatically be inserted to the database (with &#39;Direction&#39; = &#39;out&#39;) and will I be notified with the NewMessage signal?<br>
</div></div>