If you enable Server Logs via your Admin Console then in your Epicor IIS Folder will be a ServerLog.txt it will have more details if its SMTP Related.
If your Task Agent runs on a different AppServer make sure you enable logs there, it will be wherever the Task Agent runs on.
Example: