Attach a file to an email with PHP – code that actually works