In case you are intersted in sending emails from a windows machine with MacAfee Entrprise antivirus, you may end up with the “[WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions” error. To resolve it, disable the “Prevent mass mailing worms from sending mail” option under the Access Protection properties of the antivirus.
