use below code to send test email from server to check whether you are able to connect to smtp server.
send-mailmessage -from (“[give email address here]”) -to (“[give email address here]”) -subject “[wubject text here]” -body “[body of message here] ” -smtpServer “[smtp server name]”
send-mailmessage -from (“tek-jedi@tek-jedi.com”) -to (“tek-jedi@tek-jedi.com”) -subject “Test smpt” -body “testing smtp server email ” -smtpServer “smtp.tek-jedi.com”