What does a CORS error mean?
A CORS error suggests that you're running your API call to Postmark on the client-side. To prevent you from leaking your API token, Postmark does not allow that. There would need to be a server-side component that calls and sends the message through Postmark.