URL That Will Open InfoPath Form in Browser

If you ever need to send out a link of InfoPath form in email and want the link to open the form in browser instead of popup the xml in open/save dialog ... here is the trick:

send the link as following:

siteUrl/_layouts/FormServer.aspx?xmlLocation=InfoPathFormUrl?DefaultItemOpen=1

make sure the InfoPath form Url is UrlEncoded.