[kdepim-users] Getting Mails via command-line

Ingo Klöcker kloecker at kde.org
Fri Sep 12 21:25:02 BST 2008

On Friday 12 September 2008, Mike Arthur wrote:
> On Friday 12 September 2008 10:08:02 DennisMail at gmx.net wrote:
> > I sure it did oversee the function, but I can't find it: I am
> > connected to my PC via ssh and now, I am looking for the
> > possibility to tell kontact/kmail to fetch mails (like getting them
> > via the gui). Is there a way?
> dbus-send --session --type=method_call --dest=org.kde.kmail /kmail
> org.kde.kmail.kmail.checkMail
> That should do the trick, let me know if it doesn't!

This trick works for KMail 1.10.x (KDE 4.1.x).

The much simpler

  kmail --check

works for all versions of KMail.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdepim-users/attachments/20080912/01c3763d/attachment.sig>
-------------- next part --------------
KDE PIM users mailing list
kdepim-users at kde.org

More information about the kdepim-users mailing list