# Gavin Andresen
# 2012-05-03 19:35:30
# https://bitcointalk.org/index.php?topic=79105.msg880936#msg880936

So you create a 'send' transaction: @p{brk}

Code:
sendtoaddress msK1Hu7N27XTcuXd5MqWuyhW3YEGxHgVPe 11 "Testing" "One, two, three" @p{brk}
a9e19baabc3929f0940805e69370d4aefa981cbe9cb8f5ea9184f5f6909a8544 @p{brk}

 @p{brk}
... and you've associated msK1Hu7N27XTcuXd5MqWuyhW3YEGxHgVPe with the label "2_address": @p{brk}

Code:
setaccount "msK1Hu7N27XTcuXd5MqWuyhW3YEGxHgVPe" "2_address"
 @p{brk}
listtransactions looks like this: @p{brk}

Code:
{ @p{brk}
        "account" : "", @p{brk}
        "address" : "msK1Hu7N27XTcuXd5MqWuyhW3YEGxHgVPe", @p{brk}
        "category" : "send", @p{brk}
        "amount" : -11.00000000, @p{brk}
        "fee" : 0.00000000, @p{brk}
        "confirmations" : 0, @p{brk}
        "txid" : "a9e19baabc3929f0940805e69370d4aefa981cbe9cb8f5ea9184f5f6909a8544", @p{brk}
        "time" : 1336073201, @p{brk}
        "comment" : "Testing", @p{brk}
        "to" : "One, two, three" @p{brk}
    } @p{brk}

 @p{brk}
... because "send" transactions always report a negative amount (you're sending coins) and the account that they're being sent from. @p{par}

If you want to know the account/label associated with the address that you're sending to, do this: @p{brk}

Code:
getaccount msK1Hu7N27XTcuXd5MqWuyhW3YEGxHgVPe @p{brk}
2_address @p{brk}

 @p{brk}
... or you could use the [comment]/[comment-to] params to the sendtoaddress/sendfrom/sendmany commands if you want the "to-account" to show up in listtransactions. @p{brk}