hi all
hope every body is fine

i want ask you about how can we send the form data entries includnding attached file to an email without saving the file to the server

as i want to know if this procces legal to take the uploaded file and send it to email without saving it

plz if any body know about that matter tell me about it :(


Recommended Answers

All 2 Replies

Well, the file has to be saved somewhere at one point before PHP can send it with an email. But after the email is sent you could use PHP to delete the file from the server.

Here is a link that may help that has a section on sending mail with PHP including an attachment: http://www.webcheatsheet.com/PHP/send_email_text_html_attachment.php

than u so0o much
i've found some way to send an email with attachment without needing to save the file to anywhere

thanx again :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.