I have created a contact us page with email attachment. I followed the tutorial from here: http://www.blog.magepsycho.com/adding-upload-field-in-contact-form-and-send-as-attachment/.
The contact form and attachment works perfectly however there is an issue.
If I intentionally send the form without attaching any file, I still receive a no name attachment file. Suppose to be no attachment present.
screenshot below:
What was wrong with this email attachment?