# PHP Mail Attachments

**URL:** <https://forum.kirupa.com/t/php-mail-attachments/160132>\
**Category:** programming\
**Created:** [August 23, 2005, 5:40pm UTC](https://forum.kirupa.com/t/php-mail-attachments/160132 "2005-08-23T17:40:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hl1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/hl1/32/849_2.png) [@hl1](https://forum.kirupa.com/u/hl1)\
**Post date:** [August 23, 2005, 5:40pm UTC](https://forum.kirupa.com/t/php-mail-attachments/160132/1 "2005-08-23T17:40:50Z")

</div>

How do I attach a zip file to a mail()?

Please don’t tell me to use google because i’ve seen all the results, yet I still don’t get it.

I need to see like an example of it in use in the PHP code.

Thanks for the help in advance!
