Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
livebox:gmail [2014/05/12 05:52] – brett | livebox:gmail [2014/06/12 11:24] (current) – minerva9 | ||
---|---|---|---|
Line 8: | Line 8: | ||
< | < | ||
[mail] | [mail] | ||
+ | enable=1 | ||
server=smtp:// | server=smtp:// | ||
from=job.blogs@gmail.com | from=job.blogs@gmail.com | ||
Line 14: | Line 15: | ||
</ | </ | ||
- | To send an email construct a xAP packet of this form. | + | If you modify this file manually you'll need to restart the xap-mail daemon so it picks up these changes |
+ | < | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | To send an email, construct a xAP packet of this form. | ||
< | < | ||
xap-header | xap-header | ||
{ | { | ||
+ | v=12 | ||
+ | hop=1 | ||
+ | uid=FF00D800 | ||
+ | source=dbzoo.livebox.test | ||
target=dbzoo.livebox.Mail | target=dbzoo.livebox.Mail | ||
class=email | class=email | ||
Line 24: | Line 34: | ||
{ | { | ||
to=mary.little@gmail.com | to=mary.little@gmail.com | ||
- | subject=How is you lamb? | + | subject=How is your lamb? |
text=I' | text=I' | ||
} | } | ||
Line 33: | Line 43: | ||
xap-header | xap-header | ||
{ | { | ||
- | class=mail | + | v=12 |
+ | hop=1 | ||
+ | uid=FF00E100 | ||
+ | class=email | ||
source=dbzoo.livebox.Mail | source=dbzoo.livebox.Mail | ||
} | } | ||
Line 42: | Line 55: | ||
</ | </ | ||
- | An error packet with a status code will be send otherwise. | + | The value of the error code in the response packet |