OK - You need to fill in your IPv4Default Gateway and DNS servers on the screen above.
Your default gateway is most likely the IP address of your router - maybe 192.168.50.1?
For DNS Nameservers - unless you know otherwise, use 8.8.8.8 for one, 8.8.4.4 for another.
Once you have made and saved those entries, TrueNAS should be able to get to the outside world. The other requirement to send the test email successfully is that you have entered a valid email address for the root user in Accounts/Users.
For more help, please post your system information as requested in the Forum Rules.