YMSG is a PHP class that can be used to send messages and manage Yahoo! Messenger accounts. It can connect to a Yahoo! Messenger server, authenticate as a given user, and perform several types of operations on behalf of that user. Currently, it can get the user buddy list, add a new buddy, deny a new buddy request, send a buddy request, remove a buddy, get an user avatar URL, and send a private message.