livebox:gmail

This is an old revision of the document!


xAP message via Gmail

The xap-mail daemon allows you to send an xAP message and have it redirected to a mailbox. This is useful for monitoring and alerts.

The structure of xAP packet that can be intercepted by the xap-mail daemon.

xap-header
{
target=dbzoo.wombat.Mail
class=email
}
message
{
to=brett@dbzoo.com
subject=Email test
text=From wombat
}

When it successful sends the email it will send a OK packet <code> xap-header { class=mail source=dbzoo.wombat.Mail } mail.ok { text=Send mail is complete } <code>

An error packet with a status code will be send otherwise. The value of the error can be consulted at: http://curl.haxx.se/libcurl/c/libcurl-errors.html

  • livebox/gmail.1399857898.txt.gz
  • Last modified: 2014/05/12 01:24
  • by brett