If you need to send an attachment from a Windows server to an email address use the following syntax
Open Powershell
Send-MailMessage -To "[email protected]" -From "[email protected]" -Subject "Logs" -SmtpServer "smtp.jordansphere.co.uk" -Attachments "Myfile.csv"