Send attachments via wp_mail from temporary folder

Yes. it’s possible. Attachment file contents are taken by wp_mail call.

Use $_FILES['file']['tmp_name'] for filename

Leave a Comment

tech