Add check for empty attachment. Without this blank attachments are added if the attachment is blank or an empty string is passed into the wp_mail function for $attachments
Merge pull request #4 from matt-h/master

Add check for empty attachment.