Tuesday 5 April 2011

App Inventor issue...

I've been trying to generate an email from an App Inventor app. It successfully builds the mailto URI, but for some reason the data for the email body, which should look something like:

name1, value
name2, value
name3, value

Isn't being displayed - only the first line is placed into the email... I'm using %0A to signify a newline within the mailto URI (as indicated by a number of folk) but it just doesn't work....

The mailto URI that my app is generating is something like:

mailto:x@y.com?subject=test&body=name1,value%0Aname2,value%0Aname3,value%0A

but all I see in the generated email is:

name1, value

Anyone got any ideas?

2 comments:

  1. Sean,

    Ha, I found your blog when searching for this same solution we've been discussing in the forums. So far all I've found is someone who reported the same issue in October:

    http://groups.google.com/group/appinventor/msg/1428ace717abb0c5

    I replied in the discussion board that your code works appropriately with Touchdown Exchange.

    By the way, thanks for your help again.

    Cheers,
    Jonathan

    ReplyDelete
  2. Sean,

    I fixed your sample app:

    http://groups.google.com/group/appinventor/browse_frm/thread/216be45aa0417ddf

    Jonathan

    ReplyDelete