Table of Contents

POP3 plugin

This plugin allows to check your mail on a POP3 mail server.

Note: Response time depends on your net connection so, if you do not have a good latency line, you shouldn't use this pluging because it could hang lcd4linux while POP3 plugin is waiting the mail server response.


Functions

POP3check(n)return the number of mails in the account number <n>

Configuration example

You can define up to three different POP3 accounts. If port entry is missing, 110 will be used as default.

Plugin POP3 {
        server1 'mail.server.foo'
        user1 'JohnSmith'
        password1 'topsecret'

        server2 'free.mail.foo'
        user2 'MadJohnny'
        password2 'ImMad'

        server3 'pop.myisp.foo'
        user3 'John2005'
        password3 'idontknow'
}

Widget examples

You can check the three accounts defined above with three widgets

Widget mailSmith {
    class 'Text'
    expression POP3check(1)
    prefix 'Mail'
    width 7
    precision 0
    align 'R'
    update 30000
}

Widget mailJohnny {
    class 'Text'
    expression POP3check(2)
    prefix 'Johnny'
    width 9
    precision 0
    align 'R'
    update 30000
}

Widget mailJohn {
    class 'Text'
    expression POP3check(3)
    prefix 'Work'
    width 7
    precision 0
    align 'R'
    update 30000
}

Or you can use one widget to check more than one account

Widget mailSmith {
    class 'Text'
    expression POP3check(1)+POP3check(2)
    prefix 'Mail'
    width 7
    precision 0
    align 'R'
    update 30000
}