You need to install the Libs for sending email.
For Win I use libeay32.dll and ssleay32.dll. In Linux I install with sudo apt-get install libssl-dev. Probably exists in the MAC a Lib for sending email.
These Libs are also used by Firefox, Chrome, PostgreSQL, Thunderbird... etc.