Hi, I have a problem sending emails using requestSendMessage.
If the message has an url with more than 40 characters the link is cut
by orkut after the 40 character.

For example the url http://www.acme.org/forty-characters/testing is
cut after the 's' of testing world and it looks like this in the
email:

<p><a target="_blank" href="http://www.acme.org/forty-characters/
tes">http://www.acme.org/forty-<wbr></wbr>characters/testing</a>ting</
p>

Is there any way to solve this problem?

Thanks, Claudio.

PD: I give you an example application that reproduce the error (it's
very easy to execute it using the CodeRunner application)

function sendEmail(){
    var body = "http://www.acme.org/forty-characters/testing";;
    var title = "This is a test!";

    var params = {};
    params[opensocial.Message.Field.TITLE] = title;

    params[opensocial.Message.Field.TYPE] =
opensocial.Message.Type.EMAIL;

    var message = opensocial.newMessage(body, params);

    opensocial.requestSendMessage(opensocial.IdSpec.PersonId.VIEWER,
message, sendEmailCallback);
}

function sendEmailCallback(response){
    alert("Test!");
}

sendEmail();

-- 
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-or...@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.

Reply via email to