I saw on stackowerflow and use function for mail attachment with $_FILES
data but my problem is how to send email with attachment where is all files what need to be attached on the server?
Example:
- Users upload multiple files like images, zip, pdf doc in own console
- User when generating email choose what they want to send in attachment
- After choosing they can send email
I made complete functionality only missing part how to send that files like attachment not raw URL. I using standard mail()
function for sending mail.