Accounts.emailTemplates.verifyEmail.attachments?


#1

Hi everybody.

I’m looking for the attachments options to send the verifyEmail of Accounts package.

Something like this:

Accounts.emailTemplates.verifyEmail.attachments = [{
fileName: ‘logo.jpg’,
filePath: “/email/logo.jpg”,
cid: cidLogo,
contentType: ‘image/jpeg’,
}];

It seem to be not available yet, I’m right ?

Is there another way to attach an image in the verifyEmail / resetPassword etc ?

Thank you so much!


#2

I try add an attachment with the sendVerificationEmail Accounts function, from the onCreateUser Accounts event, but it’s not working either.
Nobody have an idea to do this? :confused: