Forums Register Login

yahoo mail, gmail setup in my web application

+Pie Number of slices to send: Send
 


I want to show yahoo mail and gmail in my web application. I want to show the unread mails of yahoo and gmai on my web site and when user clicks on the link of yahoo mail(unread mail[number of unread mail]) then the user will be directed to the inbox of yahoo mail or gmail without being authenticated.
can we do such kind of thing???

 
+Pie Number of slices to send: Send
Welcome to the JavaRanch.
Java has an email api. It has a Frequently Asked Questions page:

Q: Can I use JavaMail to read mail from my web mail account (such as Yahoo or Hotmail)?
A: It depends. Many web-based email services provide access only using a browser with HTTP. These services cannot be accessed using JavaMail. If the service also provides POP3 or IMAP access, JavaMail can probably be used to access it. Contact your web email service provider for details. Also, see the JHTTPMail project for an open source provider for JavaMail that provides access to Hotmail. Another helpful tool is MrPostman, a proxy server that provides POP3 access to Hotmail and Yahoo! Mail, available at http://mrbook.org/mrpostman/

 
+Pie Number of slices to send: Send
Yahoo mail in particular doesn't allow POP3 access unless you pay for it.
+Pie Number of slices to send: Send
Hi all,
I want to integrate Yahooand Hotmail in my web application. The Idea is that whenever I click on the link of Yahoo or Hotmail the respective Inbox should be open in a new window. I am using HttpClient 3.0 API from APache.
I am able to login in to Yahoo through my code. There is a sequence of GET and POST method to do this. first I made a GET method call to http://mail.yahoo.com, it gives me a response containing the <form> element, from this element I retrieve the action element and made a POST request to that action [something like http://login.yahoo.com?login_verify_ysm], this again gives me response and from that response I retrive the "location" element which is there in the response header of the response and is a URL. Now I opened this URL in a new window through AJAX call in javascript....
The new window gets open with the login page of Yahoo and with an error stating that "The Browser You are using refuses to Sign In (cookies rejected)". Actually I am getting 5 cookies from my code which is a result of subsequent call to GET and POST method. These cookies get Set in my browser with in the local domain and there is only one cookie set with in the .yahoo.com domain. I think yahoo server is able to read cookies which are set as .yahoo.com domain only.

Could anyone please give me an Idea of how to make Yahoo server able to read my local domain cookies or are we able to set cookies with the .yahoo.com domain from our application.
+Pie Number of slices to send: Send
{Hijack removed]
[ August 29, 2008: Message edited by: Bear Bibeault ]
+Pie Number of slices to send: Send
Pradeep,

Please don't hijack this thread. You have your own thread for this problem, and it has nothing to do with this one. As such, please continue in the thread that already has several replies.
+Pie Number of slices to send: Send
Hi
Ok.Sorry for that!
Then YOU must do the pig's work! Read this tiny ad. READ IT!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 3555 times.
Similar Threads
want to show unread mail of Gmail,Yahoo,AOL on web application.
inline image display in mail body
How to login on my site when user is already logged in in Yahoo mail ?
Is it feasible, SSO from JS?
send e-mail from a java application
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:55:10.