newbi3 Posted April 29, 2013 Share Posted April 29, 2013 I am working on my texting pineapple module and just started noticing that only about 10% of messages sent are being delivered. I thought this was just a problem with pinger until I tried it on my actual phone and had the same issue. I logged into gmail to be greeted with this: from what I've read this is due to their new email authentication and that if you send an email from a third party source (the python script on the pineapple in this case) there is a chance that it will fail. Does anyone know how to disable this authentication or of any alternatives to gmail that allow you access to send email via smpt and receive it via imap? I am really not wanting to do a re-write of this whole module... Quote Link to comment Share on other sites More sharing options...
Mr-Protocol Posted April 29, 2013 Share Posted April 29, 2013 Is it blocking them or sending to spam folder? It may be easier to code your own SMTP script. Quote Link to comment Share on other sites More sharing options...
newbi3 Posted April 29, 2013 Author Share Posted April 29, 2013 Is it blocking them or sending to spam folder? It may be easier to code your own SMTP script. The script is using the smtplib in python to connect to a gmail account and send a message out through there to the users sms gateway. And the part that is confusing me about this is that gmail is blocking the message in the send mail folder saying that is may not have been sent with the account. I might have to switch over to yahoo if there is nothing that can be done about this. Quote Link to comment Share on other sites More sharing options...
Pwnd2Pwnr Posted April 29, 2013 Share Posted April 29, 2013 My only guess would be that they are timing out... can you find the TTL in the script and modify that, perhaps? Quote Link to comment Share on other sites More sharing options...
newbi3 Posted April 29, 2013 Author Share Posted April 29, 2013 (edited) This actually just got a little bit stranger.. It turns out that the message is being sent to the same gmail account that it was sent from and not to the correct destination. This used to work flawlessly when I first wrote it but it appears that gmail has had some updates since then. EDIT: I just got a message to my phone that I sent hours ago Edited April 29, 2013 by newbi3 Quote Link to comment Share on other sites More sharing options...
newbi3 Posted April 29, 2013 Author Share Posted April 29, 2013 BOOM got it! Credits to this guy: http://jmduke.net/post/39159602638/sending-emails-through-python-gmail It was exactly what google said; a problem with the authentication headers and what he said to do seemed to do the trick! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.