You at least have a typo in your MIME-Type:
Wrong : Type => 'aplication/pdf', Correct : Type => 'application/pdf',
I don't know if that's the cause for the incorrect/corrupted attachments.
In reply to Re^3: SMTP auth() command not supported on smtp.live.com
by Corion
in thread SMTP auth() command not supported on smtp.live.com
by lighterjoul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |