I
ithinc
Is there a method to send gmail through a xmlhttprequest?
Is there a method to send gmail through a xmlhttprequest?
ithinc said:Is there a method to send gmail through a xmlhttprequest?
Gmail is an interactive website with email/webmile facilities.
No, you cannot sent the whole interactive website with xmlhttprequest,
as you cannot send a cow as an email attachment.
Probably yes. You can log the request-response chain and corresponding
headers required to send e-mail through GMail (including the authentication
process), and program those requests with XHR. Since Cross-Site Scripting
is not possible with XHR, you need an additional (server-side) application
to serve as a HTTP proxy for your requests.
ithinc said:Thank you, PointedEars. I've got it, using the Gmail basic HTML pages.
In total I use two http requests, one to get the compose form, and the
other to send the compose form, perfectly. It's not as complicated as
you described.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.