Open padmajan87 opened 3 years ago
set 2-factor authorization in Gmail after that go to security-app password-device=windows computer and app=mail generate password 16 digit password should be generated copy that password and paste the in-app password in the .env file you will get mail.
set 2-factor authorization in Gmail after that go to security-app password-device=windows computer and app=mail generate password 16 digit password should be generated copy that password and paste the in-app password in the .env file you will get mail.
my watching is enabled but still i am not getting any mail
go through https://github.com/kartikey54/VaccineAvailabilityNotifier/issues you will find what you need.
I did the whole set up but didn't receive any email
Check Line 56 of vaccineNotifier.js
Email is triggered only when slots are available.
if(validSlots.length > 0) { notifyMe(validSlots); }
Add Notify me in the try catch of main function in VaccineNotifier.js
try {
notifyMe('{}') // Add this line to check if your configuration is correct. Email should start going
cron.schedule('* * * * *', async () => {
await checkAvailability();
});
}
I inserted a new line at 23 and added this line notifyMe('{}') in vaccineNotifier.js and started the application again and got a dummy email. thanks @varunn12
Check Line 56 of vaccineNotifier.js Email is triggered only when slots are available.
if(validSlots.length > 0) { notifyMe(validSlots); }
Add Notify me in the try catch of main function in VaccineNotifier.js
try { notifyMe('{}') // Add this line to check if your configuration is correct. Email should start going cron.schedule('* * * * *', async () => { await checkAvailability(); }); }
This works but sends dump mail.
I think the ideal json that we want should be passed in notifyMe( here )
Hi Karthik,
I provided all details in .env file.Not sure about app password. Just copied the string provided in sample.
But I didnt get any mail. Could you please let me know if any particular password should be provided.
Regards, Padmajan V