Amazon 554 error

Hello, I am having a problem sending an Accounts.sendEnrollmentEmail(). I have set my email template from address to the email address I wish to send from, and am able to manually send an email using‘sendEmail’). However when using sendEnrollmentEmail() I am getting a server error saying is not a verified address from Amazon. I am not sure what I am missing, or why the template is not overwriting the no-reply address. Any help would be appreciated.

If you’re using AWS ses as your email provider you have to verify the sender address before you can use it.

Thanks for reply, I had already verified. Turns out it was a missing import on the server main.js. Just figured it out.