views:

132

answers:

3

as i know that gmail might put some security things to prevent this. but i really need this.

the 2 following doesn't work

<object type='text/html' data='http://mail.google.com/'&gt;&lt;/object&gt;
<iframe src='http://mail.google.com/' frameborder=0 style='width:322px; height:480px;'></iframe>

any other ways? thanks!!!

+2  A: 

You would be better off using Google API. http://code.google.com/appengine/docs/python/mail/

Although not a solution to your question I believe this is an appropriate alternative.

Chris
A: 

Also not a solution, but I believe framing GMail doesn't work as this header is set:

X-Frame-Options: SAMEORIGIN

Which disallows their site from being framed by anyone other than GMail itself (in compatible browsers.)

blob8108
A: 

Sorry to be a Johnny Come Lately here, but I want to follow up with a similar question.

Google Maps includes a bit of iframe code, and it would be great if there were a way to insert this into a GMail message to someone I'm trying to send directions to.

Is this possible?

jp2code