maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Incoming E-mail interception (https://talk.maemo.org/showthread.php?t=43694)

moneytoo 2010-02-07 22:30

Incoming E-mail interception
 
Hello,

Is it possible to intercept the incoming e-mail message to the phone's default e-mail client?

1) I can see calling of Notify method in the session d-bus (with the e-mail sender and subject) but I have no idea if I can intercept that somehow in my Python application.

Code:

method call sender=:1.97 -> dest=org.freedesktop.Notifications serial=50 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
2) Are the e-mails stored in the eventlogger database? After browsing the database I found only sms/im/call history.

Any ideas?

moneytoo 2010-02-21 11:05

Re: Incoming E-mail interception
 
Any thoughts?

Performer 2010-02-21 20:06

Re: Incoming E-mail interception
 
Quote:

Originally Posted by moneytoo (Post 539518)
Any thoughts?

Check Modest sources - http://modest.garage.maemo.org/

Performer 2010-02-21 20:15

Re: Incoming E-mail interception
 
Also check C API of Modest - libmodest-dbus-client-dev

phi 2010-06-03 20:45

Re: Incoming E-mail interception
 
Can anyone help moneytoo out so we can get email notifications on openwatch?

Pretty please?! :D

Joorin 2010-06-03 21:26

Re: Incoming E-mail interception
 
Registering on the dbus to get the same notification as Modest must be easy as pie in Python.

To actually get the message part of the email, I'm guessing you'd need to handle the different types of email account types that are available.


All times are GMT. The time now is 22:50.

vBulletin® Version 3.8.8