An email message could not be sent from your iCloud email account if the iCloud SMTP server server is not working. The reason behind this problem is incorrect server settings. Check if the server settings of the iCloud email account are correct and change it if it is wrong with the help of the quick instructions provided on this page.