Protocols/MSNP/Commands/SDC: Difference between revisions
Jump to navigation
Jump to search
m (1 revision imported) |
Animadoria (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{Protocols/MSNP}} | |||
= SDC = | = SDC = | ||
You can send an e-mail saying "<your-name> wants to talk to you!" to a specified e-mail address with the SDC command. It's a [[Protocols/MSNP/MSNP8/Payload Commands|payload command]]. | You can send an e-mail saying "<your-name> wants to talk to you!" to a specified e-mail address with the SDC command. It's a [[Protocols/MSNP/MSNP8/Payload Commands|payload command]]. |
Latest revision as of 18:44, 11 May 2022
MSNP Protocol |
Introduction • Terms • Clients |
Reference |
Error List • Commands • Relying Party Suite • Spotlife |
Services |
XMPP • HTTP Gateway • Tabs • Activities |
Documentation |
Development Tools • MSNP Grid |
Polygamy • URLs used by MSN |
Documents |
Protocol Versions |
Version 21 |
Version 18 |
Version 16 |
Version 15 |
Version 14 |
Version 13 |
Version 12 |
Version 11 |
Version 9 |
Version 8 |
Version 2 |
MSNC |
Introduction • P2P • Object Descriptor • Display Pictures • File Transfer |
Scenarios |
Microsoft Messenger for Mac |
MSNP on WebTV (MSNTV) |
SDC
You can send an e-mail saying "<your-name> wants to talk to you!" to a specified e-mail address with the SDC command. It's a payload command.
Sent to server
Description
SDC trid invite_passport locale_id MSMSGS WindowsMessenger X X your_name length\r\n your_message (no newline)
Parameters
- trid: Transaction ID
- invite_passport: The passport email address to invite.
- locale_id: Believed to be the hexadecimal Protocols/MSNP/Locale ID - eg "0x0409" for US English
- your_name: The URL encoded name of the person sending the invitation.
- length: The length of the payload (the part after the \r\n)
- your_message: A personal message of the person sending the invitation.
Server returns
Description
SDC trid OK
Other notes
It appears that you can only invite MS Passport members. The "MSMSGS WindowsMessenger X X" parameters in the SDC command you send to the server are unknown. However, it is noticed that changing the MSMSGS parameter to something else results in a 710 error.
Example
If I wanted to contact someone with the address "example@passport.com", with the message "Hi Mike!", I might send the following:
>>> SDC 3 example@passport.com 0x0409 MSMSGS WindowsMessenger X X Andrew%20Sayers 8\r\n Hi Mike! (no newline)
If the message was successfully sent, the server will return an SDC response with a TrID and a single parameter of "OK":
<<< SDC 21 OK\r\n