File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -98,8 +98,8 @@ ${message}
9898
9999 // Send email using Resend
100100 const { data, error } = await resend . emails . send ( {
101- from : `Sim <noreply@${ env . EMAIL_DOMAIN || getEmailDomain ( ) } >` ,
102- to : [ `help@${ env . EMAIL_DOMAIN || getEmailDomain ( ) } ` ] ,
101+ from : `Sim <noreply@${ getEmailDomain ( ) } >` ,
102+ to : [ `help@${ getEmailDomain ( ) } ` ] ,
103103 subject : `[${ type . toUpperCase ( ) } ] ${ subject } ` ,
104104 replyTo : email ,
105105 text : emailText ,
@@ -121,7 +121,7 @@ ${message}
121121 // Send confirmation email to the user
122122 await resend . emails
123123 . send ( {
124- from : `Sim <noreply@${ env . EMAIL_DOMAIN || getEmailDomain ( ) } >` ,
124+ from : `Sim <noreply@${ getEmailDomain ( ) } >` ,
125125 to : [ email ] ,
126126 subject : `Your ${ type } request has been received: ${ subject } ` ,
127127 text : `
@@ -137,7 +137,7 @@ ${images.length > 0 ? `You attached ${images.length} image(s).` : ''}
137137Best regards,
138138The Sim Team
139139 ` ,
140- replyTo : `help@${ env . EMAIL_DOMAIN || getEmailDomain ( ) } ` ,
140+ replyTo : `help@${ getEmailDomain ( ) } ` ,
141141 } )
142142 . catch ( ( err ) => {
143143 logger . warn ( `[${ requestId } ] Failed to send confirmation email` , err )
You can’t perform that action at this time.
0 commit comments