Hi guys, Down is the code for sending email from my app. It was working late in the morning today but stopped working in the afternoon. Can anyone help me with this please??
sendEmail: function(name,recipient,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); //till this the code works fine opensocial.requestSendMessage(recipient, message, function(data) { //user id is given as recipient here if (data.hadError()) { document.getElementById("notify").innerHTML="There was a problem:" + data.getErrorCode(); } else { document.getElementById("notify").innerHTML="Email sent successfully!!!"; } }); }, With Love, Sri Prasanna. K Blog: http://sprasanna.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Orkut Developer Forum" group. To post to this group, send email to opensocial-orkut@googlegroups.com To unsubscribe from this group, send email to opensocial-orkut+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/opensocial-orkut?hl=en -~----------~----~----~----~------~----~------~--~---