I may have a virus now?
I opened my e-mail and saw a e-mail saying "Thank you for your subscription!" with a PDF file attached. I wasn't thinking to check the sender and opened the PDF file which showed a fake confirmation from Apple. I immediately closed everything, deleted the file, cleared my history and cookies then restarted my laptop (as well as changed my e-mail password).
I usually don't open e-mails like that, but for some reason I did this time
What happens if you open a fake PDF file like that? Do you get a virus/key-logged? I opened it from my MacBook
Edit: here's what it looked like
MacBook