1

PHP Sample Code Missing Textbox?

PHP Sample seems to be missing a textbox when it asks the user to come back and type in the code.

I'm also unsure why it doesn this?

I've been trying to get the php sample, the ymailphp, and one other sample I've found to work for the past three days with 0 results - and no responses to my other post.

Do I have to go into the console and make changes (like suggested in the quickstart?) or is that optional to test?

Either way, I haven't had any results on this forum or stackoverflow, and the restraints of imap is frustrating for my yahoo users.

Will this mail api allow us to extract data from user emails who don't pay for the premium email account?

Why do some non premium users allow imap access while others don't? I don't fully understand this - I created an account two weeks ago and I can get imap access, but many other yahoo users do not.

Shedding light on anything above would be highly appreciated.

by
7 Replies
  • Not sure what you mean by "missing a textbox". I am assuming you are following this link and running it in command line. Once you get the code just paste it in command line and you should see the result. Also please confirm you have got the OAuth keys.

    Will this mail api allow us to extract data from user emails who don't pay for the premium email account?
    Yes as long as the users authorize your app to do the same but I would like to understand more on what you are trying to do.

    Also I am not sure what are you trying to do with IMAP. Mail api's are webservice APIs and can be used with OAuth access.
    Can you tell me who are the users not able to access IMAP?

    --R

    QUOTE (bob_cavezza @ Apr 14 2011, 10:11 AM) <{POST_SNAPBACK}>
    PHP Sample seems to be missing a textbox when it asks the user to come back and type in the code.

    I'm also unsure why it doesn this?

    I've been trying to get the php sample, the ymailphp, and one other sample I've found to work for the past three days with 0 results - and no responses to my other post.

    Do I have to go into the console and make changes (like suggested in the quickstart?) or is that optional to test?

    Either way, I haven't had any results on this forum or stackoverflow, and the restraints of imap is frustrating for my yahoo users.

    Will this mail api allow us to extract data from user emails who don't pay for the premium email account?

    Why do some non premium users allow imap access while others don't? I don't fully understand this - I created an account two weeks ago and I can get imap access, but many other yahoo users do not.

    Shedding light on anything above would be highly appreciated.
    0
  • Hey, I used the PHP Imap Library and many non premium users aren't allow access to our web app through imap - we're missing about 70% of yahoo email accounts because they're not able to connect. This is why I'm turning to the mail api. (you guys had to make it difficult on me, lol)

    I tried it in command line and eventually got it to work, but I'm trying to transition it to a live web app, and there aren't really clear directions on how to make the switch from the command line version to the web app version with the yahoo authorization page popping up.
    0
  • Hi,

    For using Mail APIs firstly your webapp needs to support OAuth. Users need to authorize your app to access their data. Please check these links to get more idea on how to use Mail and OAuth in your webapp.
    http://developer.yahoo.com/mail/docs/user_...ingStarted.html
    http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html

    Let us know if you have any questions in using a specific api method. Thanks

    --R

    QUOTE (bob_cavezza @ Apr 14 2011, 06:50 PM) <{POST_SNAPBACK}>
    Hey, I used the PHP Imap Library and many non premium users aren't allow access to our web app through imap - we're missing about 70% of yahoo email accounts because they're not able to connect. This is why I'm turning to the mail api. (you guys had to make it difficult on me, lol)

    I tried it in command line and eventually got it to work, but I'm trying to transition it to a live web app, and there aren't really clear directions on how to make the switch from the command line version to the web app version with the yahoo authorization page popping up.
    0
  • I was able to merge these with the Yahoo Api Popup Code on Github [https://github.com/ydn/yahoo-oauth-popup]

    I was able to get the yql statements working in the library I downloaded, but I'm back to square one as I need to use the GetMessageRawHeader function and it doesn't support YQL.
    0
  • Now I'm receiving this error:
    string(143) "{"error":{"lang":"en-US","description":"Please provide valid credentials. OAuth oauth_problem=\"signature_invalid\", realm=\"yahooapis.com\""}}"

    Don't fully understand it because the oauth is working to make the yql calls. Also, I still can't find a straightforward example on how to make 1 json or soap call from all the yahoo documentation - I've seen every page. All I need to do is make 1 json or soap call for method for GetMessageRawHeader

    QUOTE (Bobby Cavezza @ Apr 18 2011, 04:05 PM) <{POST_SNAPBACK}>
    I was able to merge these with the Yahoo Api Popup Code on Github [https://github.com/ydn/yahoo-oauth-popup]

    I was able to get the yql statements working in the library I downloaded, but I'm back to square one as I need to use the GetMessageRawHeader function and it doesn't support YQL.
    0
  • Still having issues. When I try to use the JsonRpcClient.inc along with the existing social example. I'm getting 500 server errors, so I'm sure there's a conflict. I'm also sure the oauth values are correct since I doublechecked during one of the tests.
    0
  • Can you please dump your request and response here? I am interested to know why you decided to use GetMessageRawHeader? Signature Invalid is an OAuth related error. Please refer to OAuth error codes to find out more about it.

    --R

    QUOTE (Bobby Cavezza @ Apr 19 2011, 10:03 AM) <{POST_SNAPBACK}>
    Still having issues. When I try to use the JsonRpcClient.inc along with the existing social example. I'm getting 500 server errors, so I'm sure there's a conflict. I'm also sure the oauth values are correct since I doublechecked during one of the tests.
    0

Recent Posts

in Yahoo! Mail Web Services API