Hey! Good news! You've done everything right. What's stopping this from working is most likely your anti-virus. While I don't fully understand CORS, it has something to do with your anti-virus flagging that type of communication on your local server. I was able to bypass this by going into my Avast anti-virus => Settings => Protection => Core Shields => Mail Shield => Unclick scan outbound emails (SMTP).
Please do some research before doing this because I'm not 100% certain as to how this affects your machines security.
It didnt work for me
it saying Error Error: self signed certificate in certificate chain
Hey! Good news! You've done everything right. What's stopping this from working is most likely your anti-virus. While I don't fully understand CORS, it has something to do with your anti-virus flagging that type of communication on your local server. I was able to bypass this by going into my Avast anti-virus => Settings => Protection => Core Shields => Mail Shield => Unclick scan outbound emails (SMTP).
Please do some research before doing this because I'm not 100% certain as to how this affects your machines security.
Ok thanks bro, its now working
Interesting - I haven't seen this error! How far are you able to get before you run into this error?