Mail API to make your Contact Form work using my Portfolio!
-
Download this (make it private repo)
-
cd bartzalewski.com-v2-mail
-
npm install
-
Edit index.js:
- Add your host
- Add your email & password
-
Host it for example on Heroku
-
Copy its link, go to Portfolio dir, and edit the "url" (bartzalewski.com-v2/src/components/contact.js):
axios({
method: "POST",
url: "your-link.com/send",
data: {
name: name,
email: email,
message: message,
},
})
- Congratulations, your Contact Form sends you emails!