Write a PHP script that sends an email with file attachments using SMTP protocol. The email should be sent to a specified email address with a clear subject and body message. The script should be able to attach one or more files of different formats such as PDF, image, and document files. Additionally, it should handle any errors that might occur during the sending process and provide appropriate error messages.
This prompt doesn't seem malicious.