SELECT => IMAP4rev1 Server logging out Trying to Log in to Yahoo Mail - imap

I'm trying at access the Yahoo Mail IMAP. My script logs in, fetches emails then logs out again. It then pauses for 1 second before logging in again.
It works ok for about 10 minutes then starts giving this error when trying to log back in:
SELECT => IMAP4rev1 Server logging out
After which I can no longer log in.
I have looked through the docs but cannot see any mention of rate limits.
Does anyone know what the issue is?

Related

Using send API of gupshup to reply to a user within 24 hrs shows an User not opted-in error

I have my own bot running locally and have made it publicly accessible using ngrok
Trying to use the sandbox environment of gupshup to communicate with my bot.
Have hooked my bot using webhook (link your bot)
Have also created a BOT and configured the webhook as a callback POST to my ngrok server.
However when i try replying to a user supplied whats app message after say about 10 min using the Delayed response strategy i.e. by passing the contextobj and message via the send API (http://api.gupshup.io/sm/api/bot/{botname}/msg), I get an error stating "User Not Opted In".
Why isnt the user considered as an Active User since the messaging was initiated by the user and the send API is only replying to that message with 24 hrs ?
How do i simply give a delayed response to the user within 24hrs without forcing the user to opt-in ?
We do this all the time, however we are using the endpoint documented here:
https://www.gupshup.io/developer/docs/bot-platform/guide/whatsapp-api-documentation#OutboundMessage
You have to take the consent of user once before sending messages.
Also while using sandbox the user needs to opt in but for verified user it will be relaxed.
But still you will need to take consent of user at any place (your site, your terms and conditions or anywhere) before sending him anything for the record purposes so that they cannot claim that you are spamming them without consent.

Yahoo YQL Authentication error

Yahoo put in a new UI for the YQL today and now I keep getting the following error message. I've got this msg before, but by logging out and logging-in it would go away. That doesn't do it anymore.
"Authentication Error. The table requires a higher security level than is provided, you provided ANY but at least USER is expected"
Here is my YQL, it worked fine last week.
select * from fantasysports.teams.roster where league_key='371.l.150156';
Here is the new url for the YQL console
Its not just me Yahoo confirmed the console is down. Since 17 days ago.
"We are aware that the YQL Console is offline. We are investigating the issue."
source: https://twitter.com/ydn/status/936763870974173185

How do I get the server logs for a Rails 4 application in development?

I am using Devise and it sends out a confirmation email when a new user account is created. Since I am in development, in localhost, it doesn't really send out the email, so I just copy the confirmation link from the server info that appears on the console.
The thing is, as one particular page grew, the amount of information that the server processes after the email is sent became too large for the terminal, the backscroll ends before I reach the link. I checked /log/development.log but it logs other things. I studied the config and debug parts of the rails doc but I couldn't find anything about server logging.
So now I have no way of copying the confirmation link from the console, and no way of confirming new accounts, which I still need to do since it is part of the proposed flow.
How can I get the server logs?

Net::SMTPUnknownError (could not get 3xx (550)) error when sending email on my Rails app

I'm using google for sending emails on my Rails 3.2 app. Most emails functions were working perfectly. Then I did some testing because delayed_job is not working. I got a warning from google that I need to log into the account via the web to unlock it (I sent about 20 emails in a span of 1 hour). Things were back to normal. Now, I am unable to send any emails whatsoever. I have this error message in my server log:
Net::SMTPUnknownError (could not get 3xx (550))
Has Google blacklisted me for sending 50 emails? I changed the password on the account, logged in a few times via the web, restored the settings to exactly what they were when the emails were working.
I got email working again by creating a new email address. Had to create a new one without using an alias for the old one to get it to work. I also created an SPF record entry, which I did not have before.

Facebook Real-time Updates is not posting data

I have set up the real time subscription for facebook, the subscription is done successfully but I am only getting friends updates if friends are added or removed, apart from this I am not getting anything for like "books, checkins, work, education etc...". Facebook is sending the Token to my web server. That is good so far. My server sends back the response to facebook. So far Configuration is done successfully.
Another Issue is - I am not able to see the incomming request in Fiddler. I have tried below to check the incomming request...
if (oSession.host.toLowerCase() == "IP Address:8888")
oSession.host = "IP Address:Port Number";
Sometimes (especially with IE) Fiddler has to be started before you start your debugging session.

Resources