Is it possible to send attachment via
wp_mail, using temporary file, instad of uploading them to any actual folder on server?
<input type="file" name="file"> $attachment = $_FILES['file']['name']; wp_mail(....,$attachment);
The filenames in the $attachments attribute have to be filesystem
How can i get the path for temporary file (if this is possible)?