File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export const emailJsConfig = {
1818 serviceId : import . meta. env . VITE_EMAILJS_SERVICE_ID || '' ,
1919 templateId : import . meta. env . VITE_EMAILJS_TEMPLATE_ID || '' ,
2020 publicKey : import . meta. env . VITE_EMAILJS_PUBLIC_KEY || '' ,
21+ receiverEmail :
import . meta
. env . VITE_RECEIVER_EMAIL || '[email protected] ' , 2122} ;
2223
2324export const isEmailJsConfigured = ( ) => {
Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ export function Contact({ onClose }: ContactProps) {
8080 whatsapp : formData . whatsapp || "Not provided" ,
8181 subject : formData . subject ,
8282 message : formData . message ,
83+ to_email : emailJsConfig . receiverEmail ,
8384 time : String ( new Date ( ) ) ,
8485 } ,
8586 emailJsConfig . publicKey
You can’t perform that action at this time.
0 commit comments