Fixed email form
This commit is contained in:
@@ -31,7 +31,7 @@ function validateEmail(email: string) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function send(name: string, email: string, subject: string, message: string) {
|
function send(name: string, email: string, subject: string, message: string) {
|
||||||
return momentum.email.send({
|
return momentum.email.create({
|
||||||
to: ['zaktimson@gmail.com', email],
|
to: ['zaktimson@gmail.com', email],
|
||||||
subject: `ZaksCode: ${subject}`,
|
subject: `ZaksCode: ${subject}`,
|
||||||
body: `From: ${name} <${email}><br><br>${message}`
|
body: `From: ${name} <${email}><br><br>${message}`
|
||||||
|
|||||||
Reference in New Issue
Block a user