send email with attachment file in PHP

how to send email with attachment file in PHP In this post we will show you how to send email with attachment in php. by using this following code is used for send email with attachment in php. following code will sending pdf file in email.