|
Exchange Instant Messages with Gmail and Laffer
from Slavey Karadzhov on (2005-12-09 13:09:50)
Table of ContentsWhat Is This?With the help of Laffer you can turn your Gmail server to Instant Messenger Server and you can send and receive messages as easily and quickly as with other well known networks for instant messaging, like ICQ or MSN for example.How Does It Work?PreparationFirst you will need Gmail account. Second you will need working installation of Laffer, version 0.3.2.8 or bigger, or you can use the Live Demo.Notice: If you use installation of Laffer 0.3.2.8 or earlier download the following files Gmail.pm and GIM.pm and replace the files with the same name that are locate in modules/proxy/Net and modules/proxy/IM/ respectively. LoggingLog in to Laffer Web Client(see this manual for help). You will see screen that looks like the one in Picture 1.Picture 1 ![]() Picture 2 Notice: If you check it the information about your Gmail username and password will be stored in encrypted form as a cookie on your browser. This information is NOT stored on the Laffer Server. If your username and password for logging to Gmail servers are entered and correct press the "Connect me!" button. After seconds this window will disappear, if there is no problem with the connection to ICQ servers, or error text will appear on the top of the login form. Also notice that the small red box in the Gmail sub menu will turn to green when the connection is established. If everything with the connection to the Gmail servers is ready you will start to see your Gmail buddies in the contact list.
You will see only those buddies that have gmail accounts. See Limitations for more information.
Notice: Don't delete LAFFER label and filter if you use Laffer at the same time. Otherwise messages will not be delivered correctly. Exchanging messagesYou can send instant message to buddy who is logged to Gmail via Laffer at the same time that you are logged so you can exchange instant messages.Move the mouse pointer over the name of the user you want to send message. Click with the left mouse button
and a new pop-up window will appear. This is the message window. At the bottom you will see text field for entering
your message. Write your message and press ENTER to send it.
Notice: There is no need to refresh this window. It is done automatically. In fact there is no need to refresh any window. Changes are made dynamically with the help of JavaScript.Picture 3 illustrates short chat dialog. ![]() Picture 3 Notice: You can exchange messages only with buddies in your contact list that have Gmail emails. See Limitations for more information. Exchanging presence informationWhen you log Laffer doesn't send presence information to the buddies in you Gmail contact list. This is made in order to prevent sending extra "Laffer" emails. You will send/receive presence information when you send/receive message from your buddy.To exchange presence information Laffer sends specially formatted email message to the Gmail server. You can recognize Laffer messages in your Gmail box if you see subjects that begin with IM:STAT:.. LimitationsFor Gmail users onlyFor now the GIM module for Laffer is limited to exchanging message only with other users of Gmail. This means that you will see only gmail friends in your contact list and you can talk only with them.Send presence on demandYou will send and receive presence status of other users in your Laffer::Gmail contact list only when you send message to them. Otherwise Laffer would have sent presence messages to all users in your contact list every time a change occurs which can causes a lot of stale messages in you Gmail account if you are not online at the moment.CreditsNet::Gmail module is based heavily on Allen Holman's module Mail::WebMail::Gmail.Net::Gmail is rewritten to use Net::SSLeay only as an external library. Thanks to the Gmail guys for their excellent work. MetaLaffer is not endorsed by or affiliated with Google Inc.This manual is written by Slavej Karadjov for Laffer Web Client(LWC) version 0.3.2.8 or bigger. LWC is part of the Laffer Project. LWC is free software under GPL license.
|
Topics
Archive
|
||||||



