Best answer by Dinh
From your description, your apple id was compromised. You can follow this to change your apple id https://support.apple.com/en-ca/HT201355. Also make sure you turn on "2 level authentication" for your apple id.
Try to reset the network settings and restart the phone and see if the attachment issue was from the phone or somewhere else.