Different uses of the present perfect and the past simple:
Present Perfect - indefinite
• She has lived in Paris for seven years (she still lives in Paris).
Past Simple - definite
• She lived in Paris (now she lives somewhere else).
Present perfect and the past simple: be careful!
In English we use the past simple when an action is completed and finished in the past and there's no direct connection with the present, or we want to specify the time. We use the present perfect when an action happened in the past but the effects are still present at the moment we are speaking.
N.B. Be careful with 'this morning/ this afternoon' etc.
Have you sent the email this morning? (It's still morning).
Did you send the email this morning? (It's afternoon or evening).