You can achieve this my using the opensocial.requestSendMessage function. (http://code.google.com/apis/opensocial/docs/0.8/reference/ #opensocial.requestSendMessage)
Here's a sample snippet that you can use in the OpenSocial Developer App (http://osda.appspot.com/) function sendEmail(title, body) { var params = []; params[opensocial.Message.Field.TITLE] = title; params[opensocial.Message.Field.TYPE] = opensocial.Message.Type.EMAIL; var message = opensocial.newMessage(body, params); var recipient = "VIEWER"; opensocial.requestSendMessage(recipient, message, callback); }; function callback(data) { if (data.hadError()) { alert("There was a problem:" + data.getErrorCode()); } else { output("Ok"); } }; sendEmail("This is a test email", "How are you doing?"); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---

