Topics...

Mail

What it does...

Polls a specified POP3 mailbox periodically and generates a xAP message for  each mail in the box, listing: to, from, subject etc. It does not alter the  state of the mailbox (so mails will still appear as unread in your normal mail client). I will shortly add a "memory" feature soon, so only new  mails that have arrived since the last poll, rather than all mails in  the box, are notified on each poll.

Configuration

Command Line Options

xap-pop3 <mail server> <user> <pass> [instance name] [network interface] [udp port] [debug level]

 where:
mail server is the mandatory IP address of the pop3 mail server e.g. 192.168.1.2

user is the mandatory Pop3 account user name e.g. patrick

pass is the mandatory Pop3 account password e.g. bigsecret

instance name is the xAP instance name assigned to this pop3 poller. Typically this uniquely identifies the mail box being polled. The default instance name is mail.

network interface is the network interface used for outgoing xAP messages. On a Linux and Windows PC host these are named eth0, eth1. Under OSX they are named ne0 etc. By default, eth0 is used. On a Windows PC which has multiple adapters installed, even if they are not active, eth0 may not represent the active interface - some experimentation may be required!

udp port is the UDP port xAP broadcasts on. By default xAP uses its officially allocated port, 3639. Using an alternative port can be useful during isolated testing, however. Be aware that the use of ports below 1024 will fail unless the application is run by a user with administrative privileges. The use of ports below 1024 therefore has security implications and is not recommend.

debug level determines the verbosity of the output written to stdout. Verbose  output can be useful for debugging unexpected behaviour. By default, the debug level is 0. Increasing levels of detail may be specified, up to a maximum of 4.

Download

Pop3 Mail Poller Project

Mail notification (pop3) connector source (requires xAP-lib)
Mail notification (pop3) connector windows executable (requires cygwin dll)

Schema

Mail notification schema

Related...

 

Copyright (c) 2002-2006 Patrick Lidstone unless otherwise stated.
All rights reserved.