SNAC(06,02)  CLI_SEND_INVITATION 

There is a menu item in AIM clients that say something like "Sign On A Friend" and then it would ask for an email address/invitation text and it would sent a mail to them saying how perfectly wonderful the AIM service is and why you should use it and click here if you hate the person who sent this to you and want to complain and yell at them in a small box with pretty fonts.

You can send invitation using this snac. Server should reply via SNAC(06,03)

 00 06   word   SNAC family
 00 02   word   SNAC subtype
 00 00   word   SNAC flags
 xx xx xx xx   dword   SNAC request-id
 00 11   word   TLV.Type(0x11) - recipient email
 xx xx   word   TLV.Length
 xx ..   string (ascii)   Recipient email string
 
 00 15   word   TLV.Type(0x15) - invitation text
 xx xx   word   TLV.Length
 xx ..   string (ascii)   Invitation string text

Example SNAC dumps with flap header:

  2a 02 07 e8 00 3f 00 06-00 02 00 00 00 01 00 02   *....?..........
  00 11 00 16 41 56 53 68-75 74 6b 6f 40 6d 61 69   ....AVShutko@mai
  6c 2e 6b 68 73 74 75 2e-72 75 00 15 00 17 74 65   l.khstu.ru....te
  73 74 20 69 6e 76 69 74-61 74 69 6f 6e 20 6d 65   st invitation me
  73 73 61 67 65                                    ssage


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