The zimlet is to recognize items in an email, and allow the user to hover over the item to get more information. The information would come from an intranet site on another server.
I used the com_zimbra_example_customtooltip zimlet as my base and modified the regex to detect what I needed. And I have the php script on my other server that can take the information and use it to query the database.
Where I'm having trouble is, I don't have a clue how to make the AJAX call to pass the value from the email to the php page and then use the value that's returned from it.
Any help would be great (sample scripts would be marvelous).