SNAC(15,02)/07D0/040B  META_SET_EMAIL_USERINFO 

Client use this to change extended email user information. Server should reply via SNAC(15,03)/07DA/0087 which contain flag byte. If flag byte doesn't equal 0x0A - there was an error saving info.

 00 15   word   SNAC family
 00 02   word   SNAC subtype
 00 01   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 01   word   TLV.Type(1) - encapsulated META_DATA
 xx xx   word   TLV.Length
 xx xx   word (LE)   data chunk size (TLV.Length-2)
 xx xx xx xx   dword (LE)   request owner uin
 D0 07   word (LE)   data type: META_DATA
 02 00   word (LE)   request sequence number
 0B 04   word (LE)   data subtype: META_SET_EMAIL_USERINFO
 xx   char   number of email addresses (sometimes may be zero)
 
 xx   char   pemail flag (0-publish, 1-don't)
 xx xx   word (LE)   email1 string length
 xx .. xx 00   asciiz str   email1 string
 ...   ...   ...
 xx   char   pemail flag (0-publish, 1-don't)
 xx xx   word (LE)   emailn string length
 xx .. xx 00   asciiz str   emailn string

Example SNAC dump with flap header:

  2A 02 05 77 00 AB 00 15 00 02 00 00 00 18 00 02 *..w............
  00 01 00 9D 9B 00 31 DE 0B 00 D0 07 26 00 0B 04 ......1.....&...
  06 01 15 00 65 6D 61 69 6C 32 40 67 69 67 61 62 ....email2@gigab
  69 74 7A 65 2E 6F 72 67 00 00 15 00 65 6D 61 69 itze.org....emai
  6C 33 40 67 69 67 61 62 69 74 7A 65 2E 6F 72 67 l3@gigabitze.org
  00 00 15 00 65 6D 61 69 6C 34 40 67 69 67 61 62 ....email4@gigab
  69 74 7A 65 2E 6F 72 67 00 01 15 00 65 6D 61 69 itze.org....emai
  6C 35 40 67 69 67 61 62 69 74 7A 65 2E 6F 72 67 l5@gigabitze.org
  00 01 15 00 65 6D 61 69 6C 36 40 67 69 67 61 62 ....email6@gigab
  69 74 7A 65 2E 6F 72 67 00 01 15 00 65 6D 61 69 itze.org....emai
  6C 37 40 67 69 67 61 62 69 74 7A 65 2E 6F 72 67 l7@gigabitze.org
  00                                              .


  Main | Basic | Login | Snaclist | Sequences | Misc | Changes | Credits | Terms