node.js - migrating authentication in nodemailer with gmail -
i enable server send out emails using noreply.mywebsitename@gmail.com used generate pass app in gmail security settings, has changed , looks google devs have mixed every kind of auth in blender.
what required (as of november 2014) send email nodemailer?
here old working auth code:
var gmail = nodemailer.createtransport("smtp",{debug:true,service:'gmail','auth':{'user':'noreply.auto.email.robot@gmail.com','pass':'iuygfiugwiufgweiu'}});
i lost not sure if doing oauth or xoauth 2 , confused see lots of new things
refresh keys
authorization code
cilent id / secret
api key
server key
consent screen product name
what have generated far api project project id, have api key
use api keys identify project when not need access user data
the api key confusing because had click on 'create server key' , allow server ip called api key instead (what ever). have also
enabled apis
gmail api
i don't think i'm suppose in oauth 2.0 playground sort of thing (and clear mud), looks more should doing in google developers console.
it seems mixed now. don't need users details need node script out send automatic email.
to clarify, update line of code above comply googles new authentication , are/ details needed?
Comments
Post a Comment