|
|
Create Gmail EmailFrom $1Table of contentsThere is a firefox button next to the patient's email in R211B25 and higher. This generates the following page, at http://127.0.0.1:8001/create-web-email.html
This provides us with all the information we need to send a new email to this patient, and to construct a custom signature. In this following example, we are going to use Gmail. We don't need to enter a login userid and password as most of the time Gmail will save these for us and allow us to login automatically. /content/body/pre/@function, reference to undefined name 'syntax': line 1, column 1 (click for details) DiscussionWhat this script does is that it pulls all the data off the custom web page (create-web-email.html) created by Synapse needed to send the new email and to construct the signature. It then navigates to gmail's secure home page, and waits until the "Compose Mail" link appears. It then clicks on this, and then waits again until the "To:" link appears. It then fills in the email address field and inserts a new signature. AcknowledgementsI wish to thank Chen-Hsiang Yu from the chickenfoot mailing list for the two wait functions in this script that allow us to process the asynchronous javascript used by Gmail's interface.
Tags:
|