nano.dev
nano.dev
TTCTheo's Typesafe Cult
Created by nano.dev on 1/26/2023 in #questions
How to send email in trpc
how would i do it?
25 replies
TTCTheo's Typesafe Cult
Created by nano.dev on 1/26/2023 in #questions
How to send email in trpc
i have a email for all my web dev stuff and it would be nice if my contact form would go to it
25 replies
TTCTheo's Typesafe Cult
Created by nano.dev on 1/26/2023 in #questions
How to send email in trpc
y not
25 replies
TTCTheo's Typesafe Cult
Created by nano.dev on 1/26/2023 in #questions
How to send email in trpc
ye
25 replies
TTCTheo's Typesafe Cult
Created by nano.dev on 1/26/2023 in #questions
How to send email in trpc
its for a contact form
25 replies
TTCTheo's Typesafe Cult
Created by nano.dev on 1/26/2023 in #questions
How to send email in trpc
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',
25 replies
TTCTheo's Typesafe Cult
Created by nano.dev on 1/26/2023 in #questions
How to send email in trpc
true
25 replies
TTCTheo's Typesafe Cult
Created by nano.dev on 1/26/2023 in #questions
How to send email in trpc
and its giving me a error
25 replies
TTCTheo's Typesafe Cult
Created by nano.dev on 1/26/2023 in #questions
How to send email in trpc
google removed the option to turn on allow less secure apps
25 replies
TTCTheo's Typesafe Cult
Created by nano.dev on 1/3/2023 in #questions
TRPC linting error
import { type inferAsyncReturnType } from '@trpc/server'; import { type CreateNextContextOptions } from '@trpc/server/adapters/next'; import { getSession } from 'next-auth/react'; import prisma from '../backend/db/client' / * Replace this with an object if you want to pass things to createContextInner */ type CreateContextOptions = Record<string, never>; / Use this helper for: * - testing, so we dont have to mock Next.js' req/res * - trpc's createSSGHelpers where we don't have req/res * @see https://create.t3.gg/en/usage/trpc#-servertrpccontextts / export const createContextInner = async (opts: CreateContextOptions) => { const session = await getSession({ req: opts.req }); return { session, prisma, }; }; / * This is the actual context you'll use in your router * @link https://trpc.io/docs/context **/ export const createContext = async (opts: CreateNextContextOptions) => { return await createContextInner({}); }; export type Context = inferAsyncReturnType<typeof createContext>;
3 replies
TTCTheo's Typesafe Cult
Created by nano.dev on 1/3/2023 in #questions
TRPC linting error
i think its something with the context
3 replies