Nah, bro. JoeMama's not awesome. YOU'RE AWESOME!! This legit just saved me a whole night of insane trial and error 🏆✨. And now I've gotta sub, I don't have a choice, it's not up to me, the gods have spoken 😂🙌🏽. Keep it up bro. Oh, and your chill but not corny onscreen personality is 💙🔥
@MelvinAdekanye3 жыл бұрын
Thanks Ozzy! Truly appreciate it.
@yuchenkuang6 ай бұрын
Your tutorials are really great! I'm in the process of implementing a ContactMe module on my profile but I've been stuck with this problem all day!
@MelvinAdekanye4 ай бұрын
Glad I could help!
@ShivShankar000 Жыл бұрын
a small advice to friends. at 4.50 it was not working as shown in video. so i added a new redirect uri same uri but remove last / sign. And Thanks Sir. It helped
@MelvinAdekanye Жыл бұрын
Thanks for passing along the advice!
@puriajahanbani66362 жыл бұрын
That was awesome! The `Joe mama` part made me laugh loudly.
@ItzJanix3 жыл бұрын
"let's Call Him Joe... Joe MAMA 🤣🤣"
@malksmogendavid44703 жыл бұрын
that caught me off guard... hilarious
@ElChanchoGanador Жыл бұрын
Error: No refresh token or refresh handler callback is set.ERROR any help?
@victovicto8172 Жыл бұрын
dude you helped me a lot! thank you so much
@MelvinAdekanye Жыл бұрын
Happy to hear it!
@Elrawaa2 жыл бұрын
Hi bro i enjoy watching your videos. I want to know if i can know : for example when some amazon product is posted ?
@MelvinAdekanye2 жыл бұрын
That's awesome to hear. Thank you. Ooo. Are you wanting to make a program that sends emails when an amazon product is posted/updated?
@juressic38812 жыл бұрын
I've got 401 unauthorized, and then realized there was spaces in my CLIENT ID. THANKS, THIS TUT IS CRAZY
@MelvinAdekanye2 жыл бұрын
That's great! Glad you figured it out.
@Marc1920x1080p8 ай бұрын
Dear Melvin, thank you for this great video. May i ask you a question? This setup seems to work only for developing. Since i have published the app as you suggested, i get this epic "invalid grant" error from production backend, whereas in development everything works fine. Do you have any idea, what to do? I would appreciate it very much. Cheers, Marc
@cdexzswzaqME5 ай бұрын
did you figure out how to solve this issue
@Marc1920x1080p5 ай бұрын
@@cdexzswzaqME no. Finally i have switched to Mandrill (Mailchimp) Service, which is very reliable for production and works like a charm. Cost about 40$ per month
@akrazzy92362 жыл бұрын
You were so funny back in 2019 xd
@MelvinAdekanye2 жыл бұрын
Were?!? Hahaha. Thanks I appreciate it.
@swdotdev2 жыл бұрын
First of all thank you very much dude! You are awesome. It works almost perfectly for me. Somehow it sends two emails. One with the expected message and subject etc, and another one with nothing in it? Anyone else is having this issue?
@MelvinAdekanye2 жыл бұрын
You're most welcome! That's interesting. Do you have your code in a loop? Or duplicated? If no, add console.log() where you have your send function, to see if it logs twice.
@abuumar8794 Жыл бұрын
its worked for me. ❤
@MelvinAdekanye Жыл бұрын
Nice, I'm glad to hear it.
@iacrabat73673 жыл бұрын
You are a savior thank you man
@MelvinAdekanye3 жыл бұрын
Glad I could help!
@bossgamer94112 жыл бұрын
Hi RhymBil, super clear video. Just not sure why I'm getting 'Error: Can't create new access token for user'. I've tried changing my client id and secrets, new refresh tokens but nothing has worked. Any idea what might be wrong?
@MelvinAdekanye2 жыл бұрын
I appreciate it. This thread might help: stackoverflow.com/questions/45665349/trying-to-use-nodemailer-to-send-emails-using-gmail-and-am-receiving-the-error
@pascal123552 жыл бұрын
5:06 Shouldn't you need to check the "Auto-refresh the token before it expires." option ?
@dhanushsriramula28883 ай бұрын
Bro, can we able to send email from user gmail using my website?
@nico2669100 Жыл бұрын
Helped Me alot, thx
@MelvinAdekanye Жыл бұрын
Glad to hear!
@iasontzortzis94722 жыл бұрын
you a legend
@MelvinAdekanye2 жыл бұрын
Wow. Thank you.
@aarondz7892 жыл бұрын
Thanks!And, i got a error about option object: Error: Options "privateKey" and "user" are required for service account!
@AlexanderDemin Жыл бұрын
Man, what a great video! Thanks.
@hoangduytran32662 жыл бұрын
Authorization Error Error 400: invalid_scope Some requested scopes were invalid. Do you help me?
@waytofuture2 жыл бұрын
It's working sir thank you so much sir
@MelvinAdekanye2 жыл бұрын
You're very welcome!
@iacrabat73673 жыл бұрын
+ 1 subscriber man thank you
@MelvinAdekanye3 жыл бұрын
Glad I could help
@khatamati52822 жыл бұрын
it's a great tutorial. 1M thanks
@MelvinAdekanye2 жыл бұрын
Glad it was helpful!
@NaveenKumar-os8dv2 жыл бұрын
How can I make others send the mail?? Like someone is already logged in to my site, and they want to send mail from there, how can it be done?
@cdexzswzaqME5 ай бұрын
Can we use this same process for production
@MelvinAdekanye4 ай бұрын
Yep! I've used it as well in prod.
@militoarturo Жыл бұрын
Omg, thank you thank you bro
@MelvinAdekanye Жыл бұрын
You're very welcome!
@raba6503 жыл бұрын
If the oath will be used for a contact form to send emails, wouldn’t a service account be more fit in this use case scenario?
@yashojha50332 жыл бұрын
stuck in same stuff.
@raba6502 жыл бұрын
@@yashojha5033 I just switched to emailjs. Nodemailer with Oauth2 didn’t work in production only development. Terrible.
@airxperimentboom3 жыл бұрын
this is awesome content
@MelvinAdekanye3 жыл бұрын
Glad you like it.
@clepzzz2 жыл бұрын
Hi RhymBil, I did same steps and achieved to send emails on January 4. However I encountered with "invalid_grant, bad request" error. I achieved to send emails again after generate a new refresh token. Why did this happen? Do I need to generate a new refresh token after some time manually by clicking 'exchange authorization code for tokens' button and then replace new generated refresh token with old?
@MelvinAdekanye2 жыл бұрын
Hmm. This is a good question. I also encountered the same issue. But once I got a new token (similar to your situation). I didn't seem to have the issue again. As far as I've experienced, it's only happened once, but definitely a question I'm going to have to look into. Thanks for the great question.
@NITHINPB Жыл бұрын
@@MelvinAdekanye Hey, did you get time to look into this ? i am implementing this and it works fine now. But i am exprecting this error soon, since refresh_token has an expiry
@yashojha50332 жыл бұрын
Yooo sickkk
@MelvinAdekanye2 жыл бұрын
Thanks! Glad you like it.
@juressic38812 жыл бұрын
Part of the function 'transport.sendMail' won't call when the function is inside a middleware.. Please help!
@MelvinAdekanye2 жыл бұрын
For sure. Email me with your question.
@shannudeepufans2 жыл бұрын
How to fetch data if we use push() method?? Firebase web Source code please
@codecombination93373 жыл бұрын
HI, I have followed this tutorial step by step but in the end i get timeout error and also access token was not populating before sending email due to unhandled promise i replaced that with hard coded access token now I got timeout error how to resolve that
@MelvinAdekanye3 жыл бұрын
Hmm. That's very weird. If you're still having that issue. Here's a forum that can help: stackoverflow.com/questions/42387451/nodemailer-connection-timeout-error
@luisdev76463 жыл бұрын
Help, i have done all the steps, working fine, but after a week i get the error (invalid grant 400 bad request), and i have to generate manually the refresh_token
@MelvinAdekanye3 жыл бұрын
Did you publish/make public your Google API? If you leave it in test mode, you'll have to update the tokens every now and then.
@AbdurRahim-wb1yf5 ай бұрын
Can I send also outlook and Gmail also?
@MelvinAdekanye4 ай бұрын
You you can with Outlook. Would you like to see a tutorial with outlook? Here's the API page for outlook: learn.microsoft.com/en-us/graph/outlook-mail-concept-overview
@ebenezersiaw9352 жыл бұрын
Bro I keep getting this, error: 'invalid_client', error_description: 'The OAuth client was not found.'
@MelvinAdekanye2 жыл бұрын
You might find this thread useful. stackoverflow.com/questions/43334280/google-oauth-invalid-client-the-oauth-client-was-not-found
@brainedbeats90032 жыл бұрын
yo bro could it be easy of you to make a realtime online visitors in firebase tutorial? I love ur vids btw!!
@MelvinAdekanye2 жыл бұрын
Wow. Thanks. Have you tried this tutorial: kzbin.info/www/bejne/qovGf3V4a9ijmdU
@neveriodev350 Жыл бұрын
Thank you so much
@aaronstoler62162 жыл бұрын
This is really helpful, but I'm getting a ETIMEDOUT error. I've tried everything...enabled less secure apps and disabled two factor authentication. Any ideas on how to resolve?
@MelvinAdekanye2 жыл бұрын
Hmm. Sounds interesting. I haven't encountered an ETIMEDOUT error. But email me screenshots of the error. Lets work it out.
@aaronstoler62162 жыл бұрын
@@MelvinAdekanye just sent
@VatsalSharma070820002 жыл бұрын
@@aaronstoler6216 Were you able so fix that? I am getting the same error.
@aaronstoler62162 жыл бұрын
@@VatsalSharma07082000 my server specifically blocked the ports necessary to send emails. They do it as a precaution against spamming. I emailed a request to the server to unblock the ports and the problem was immediately fixed
@mrfirebaby59253 жыл бұрын
Super
@gbdasfrases2 жыл бұрын
when the refresh token expires the emails are no longer sent! Any solution?
@MelvinAdekanye2 жыл бұрын
Yes! To fix this, I normally redo the process to get a new token.
@kuku6872 жыл бұрын
why my code getting error throw new Error('No refresh token or refresh handler callback is set.'); ^ Error: No refresh token or refresh handler callback is set.
@MelvinAdekanye2 жыл бұрын
It seems like your refresh token wasn't set up properly.... email me. I'll try to help.
@naeemshaikh4683 Жыл бұрын
i am getting this error { "err": { "code": "EAUTH", "command": "AUTH XOAUTH2" } }
@KathouQC2 жыл бұрын
Hi, How I can fix the issue of invalid_grant_token after 7 days? Because now I need to change the refresh token each 7 day ... thank :)
@MelvinAdekanye2 жыл бұрын
Just to double check have you been able to publish your google project? (Changed from test to published)?
@KathouQC2 жыл бұрын
@@MelvinAdekanye yes, I am in the testing of this solutions: Create a new user after switching on production mode. So I will wait and see if I will neeed to rechange, if the information I get is right the anwser is no, it's should work :)
@MelvinAdekanye2 жыл бұрын
Yes! While the testing mode is great. It's simply just that, a means to test (with time limitations). Switching to "production mode" will take away those testing time constraints. And you're right. It should work.
Did you find a solution? if not, I'd definitely be down to help. Reach out to me via email
@chongchuongwun3 жыл бұрын
Hi, Is this features free of charge?
@MelvinAdekanye3 жыл бұрын
Yes. Google offers this feature completely free.
@chongchuongwun2 жыл бұрын
@@MelvinAdekanye Thank you for reply ^_^
@MelvinAdekanye2 жыл бұрын
@@chongchuongwun You're most welcome!
@muizuddeenahmad61423 жыл бұрын
I'm not getting email on my gmail, all things are working properly
@MelvinAdekanye3 жыл бұрын
Wow! So your console is completely error free but yet it doesn't work? If that's the case, maybe try redoing the step of getting your tokens.
@muizuddeenahmad61423 жыл бұрын
@@MelvinAdekanye yes sir,, i have done again all steps of tokens.
@muizuddeenahmad61423 жыл бұрын
Please tell me
@carlalexisalcantara52982 жыл бұрын
hi man can you make an html doc that gives numbers staring to 1 to 999,999,999
@MelvinAdekanye2 жыл бұрын
like a random number generator?
@moisesmauroochoaparedescan8382 жыл бұрын
GRACIAS BROOOOOOO ENSERIO GRACIAS
@MelvinAdekanye2 жыл бұрын
No porblemo!
@weixian71972 жыл бұрын
b0ss very cool.
@MelvinAdekanye2 жыл бұрын
You're very cool. Thanks!
@MichelLedig2 жыл бұрын
Bro.dont ever do cuts with zoom in or out in a page with so much to see.again. The path of where your mouse is going is very important to the dumbasses like me. Aside this, great video thx for the help
@MelvinAdekanye2 жыл бұрын
Thanks for the feedback. You're very welcome.
@sohaibarbii3 жыл бұрын
you save my Ass thanks
@MelvinAdekanye3 жыл бұрын
Hahaha. You're very welcome!
@dananjayachathuranga7113 Жыл бұрын
nice video. but thumbnail look like indian
@bradical81982 жыл бұрын
Fail
@MelvinAdekanye2 жыл бұрын
Fail?
@mr._.bhat007 Жыл бұрын
please check how to automatically get new refreshToken once it expires. Bro if i could jump to your place and kiss you on your cheeks i would bro... Also Thanks