Both are acceptable in the first. It could have said "will be deleted in 10 days" although some people will argue that means it will be deleted on day 10, whereas "after 10 days" means on day 11.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: