How to send email in trpc
how do i send a email with a trpc mutation using gmail?
16 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
google removed the option to turn on allow less secure apps
and its giving me a error
this has nothing to do with trpc
anything that works in node will work
true
response: '535-5.7.8 Username and Password not accepted. Learn more at\n' +
'535 5.7.8 https://support.google.com/mail/?p=BadCredentials z13-20020ac86b8d000000b003995f6513b9sm1344877qts.95 - gsmtp',
Check Gmail through other email platforms - Gmail Help
Set up IMAP and change your SMTP settings to read Gmail messages in other mail clients, like Microsoft Outlook and Apple Mail. When you use IMAP, you can read your Gmail messages on multiple devices,
btw you almost certainly want to use an external service for this
unless you like landing in peoples spam folders
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
its for a contact form
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
ye
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
y not
i have a email for all my web dev stuff and it would be nice if my contact form would go to it
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
how would i do it?
You can use gmail, just generate an app password for SMTP in the google settings
'nodemailer' is the library for sending emails, just google how to use gmail with nodemailer
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View