Is Thingworx behind a proxy server? Which version of ThingWorx are you using. Has the mailserver worked for you in that past? Did you recently upgrade your platform from an older version? If so, you may need to install the latest extension packages.