Video: Actions

Remix For Everyone

24 videos

Released: 2021-12-31

User avatar

Instructor

Scott Tolinski
AutoPlay

Actions

Learn how to send a real email using NODEMAILER and set it up so that that we can respond to it correctly in the UI.

import nodemailer from 'nodemailer' export async function sendEmail let testAccount = await nodemailer.createTestAccount let transporter = nodemailer.createTransport await transporter.sendMail console.log("Message sent:", nodemailer.getTestMessageUrl(info)); const data = useActionData

Mentioned in this video

NODEMAILER