Hi , I am using smtp for email sending and need t...
# support-questions-legacy
a
Hi , I am using smtp for email sending and need to override both the getContent as well sendEmail method , getContent to change the subject and sendEmail method in order to check whether email has been send successfully. ThirdPartyPasswordless.init({ emailDelivery:{ service: new SMTPService({ smtpSettings, override: (originalImplementation) => { return { ...originalImplementation, getContent: async function (input) { let originalContent = await originalImplementation.getContent(input) originalContent.subject = EMAIL_SUBJECT; return originalContent; }, sendEmail: async function (input:any){ console.log(1) await originalImplementation.sendEmail(input) console.log('mail sent successfully') } } } }) }, but in sendEmail await originalImplementation.sendEmail(input) is giving error in sendEmail function. I want to use AWS SES smtp service and they are asking how u are handling the email bounces and complaints. how can we handle this part.
2 Views