I'm looking for examples of smooth proper embeddings between connected compact manifolds of the same dimension that are not diffeomorphisms. I remember having seen an example with $S^7$ in mathoverflow, but now I can't find it.
EDIT: More generally, I'm looking for examples of smooth embeddings that are homeomorphisms but not diffeomorphisms. I remember having seen an example involving exotic $S^7$'s in mathoverflow, but now I can't find it.
EDIT: At first I erased the first question. Here it is again.