Android App will not email tokens anymore

Thanks for the reply , all files and folders including the jar file or in the location pi/blink. Except for the link logs file which seems to be updating in the root logs folder, where is the server properties file situated do you know

hi, i cannot find my server.properties file, where is it located please

@jasperdog it only exists if you have created it as per the docs. Local servers will run without it based on default values for all the variables but many users require the file as they wish to have at least one none default value.

thanks costas, i am still really struggling with my server not sending emails, i have followed the docs to the letter, i’ve enabled gmail for allow non secure apps, change passwords, recreated mail.properties file, rebooted after each change, still not resolved, its the only thing wrong but it is hindering some projects because the email doesn’t work in the mail widgets either, any other ideas would be grateful.

At this point I would recommend creating a new gmail address/account and trying it out… helps to determine if the issue is on the Email provider side or the Blynk Server side.

i did that yesterday

the same problem existed, i checked in my blynk folder and could see the newly created email user file so that bit worked but email not working

So you created both a new email account (Google) and a new Blynk account (on your server) with that new address, and you still have the same issue - No auth email and no email sending via widget/sketch?

it seems to me that the problem arose from when i setup 2 step security in gmail, i have since reverted back and allowing less secure apps but the problem still exists in my server

sorry Gunner the answer is YES to all your questions

brand new gmail account, switched on less secure apps, created and logged in on android app with the new gmail with same local server, same outcome

Scorched earth solution… backup your projects, both by backing up the data folder and creating QR codes from the app (assuming that part can be emailed from app) and completely wipe out the Local Server files and even the Java install. Then start from scratch with a new server install with new email (non 2 step) and a test project.

i tried cloning one project yesterday, clicked email and screen came up with red writing and did not email, i can simulate it again and try a screen capture if you require it

i just tried again and managed to share qr code to another email address and it worked but only when i selected gmail from a list of available apps to share

I think sharing from the app works with your phone’s email setting, and not so much reliant on the Blynk Server… I think :slight_smile:

yes you are correct, i just deduced that fro testing so i can theoreticly email the qr codes all be it the cloned copy contains a new token

this is going to be a rough ride

1 Like

Don’t forget to backup the entire Blynk folder (containing the project data in a folder named by the email address of each account… No, I don’t know exactly how one would go about restoring it, particularly to a new account, but better to be safe than sorry.

A post was split to a new topic: My local server cannot login in gmail