2009/7/27 Sebastian Krzyszkowiak <span dir="ltr"><<a href="mailto:seba.dos1@gmail.com">seba.dos1@gmail.com</a>></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't work at folders yet. To differ between incoming and sent,<br>
just query for {'Direction':'in'} or {'Direction':'out'}<br>
<br>
NewMessage notifies about every message added to database. It's<br>
emitted at boot when reading messages from db, and it's emmited after<br>
adding message by Add method. It'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't send messages<br>
(and I don't know if it should, but that'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 'Direction' = 'out') and will I be notified with the NewMessage signal?<br>
</div></div>