Problem arises due to the interruption in the connection of server with outlook application. So wait for some time and try to connect it later. Probably at that time connection is not established between sever and outlook application. If this is not working then change your account setting, if you find it wrong then correct it or check out the size of email message that it should not be more than the size of SMTP connection size. If you have antivirus program installed then disable the option to check email message every time when you try to send or receive email. But sometimes even after disabling this option you likely to get 0x800ccc0f error.
If the whole things not work then probably you are getting this error message due to the corruption in Outlook. Possibilities are your email box folder get corrupted which is making difficulties in sending or receiving email. Due to the corruption in file this is the not one problem which you get but beside this corruption make your other stored email messages inaccessible and in future you will not be able to view them. This is a serious condition for you when you have no backup of all important email messages. Hence in order to fix outlook error 0x800ccc0f and to save other stored email message you need to repair corrupted outlook file.
For this you can take help from the inbuilt inbox repair tool but sometimes it fails with the different condition of corruption. So it's better for you to use available third party Inbox repair tool
which is quite efficient to repair corrupted outlook file despite of any corruption issue. Easy to use this software is prominent one to get rid from this. After repairing you will be able to send or receive email easily comfortable without having any problem.