Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spences10/sveltekit-contact-form-example
Contact form example with SvelteKit using nodemailer
https://github.com/spences10/sveltekit-contact-form-example
contact-form daisyui email example nodemailer sveltekit tailwindcss vercel
Last synced: 19 days ago
JSON representation
Contact form example with SvelteKit using nodemailer
- Host: GitHub
- URL: https://github.com/spences10/sveltekit-contact-form-example
- Owner: spences10
- Created: 2023-10-11T07:20:24.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-13T09:26:18.000Z (7 months ago)
- Last Synced: 2024-04-13T21:09:35.195Z (7 months ago)
- Topics: contact-form, daisyui, email, example, nodemailer, sveltekit, tailwindcss, vercel
- Language: Svelte
- Homepage: https://sveltekit-contact-form-example.vercel.app
- Size: 366 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SvelteKit contact form example
Use your email provider app password to send emails from your
SvelteKit app.Read the [blog post] for more information.
## Setup
Copy `example.env` to `.env` and fill in the values.
```bash
cp example.env .env
```## Environment variables
Update the environment variables in `.env` with the values for your
email provider.```
EMAIL_APP_PASSWORD=your-email-provider-app-password
EMAIL_APP_USER=your-email-provider-user-email
EMAIL_APP_TO_ADDRESS=email-address-to-send-to
```[blog post]:
https://scottspence.com/posts/contact-form-send-email-from-site