Guest Posted March 25, 2006 Posted March 25, 2006 I am trying to add attachments to my e-mail example if someone whats to send me a photo or file say in tha contac us box , can anyone tell me how to do this , I have tried a lot of things but its not working thanks
Guest Posted March 25, 2006 Posted March 25, 2006 I saw someone else ask this question in the last week, Dont know if they got it resloved but if you where to do a search you might find the answer, no promises :-)
Guest Posted March 26, 2006 Posted March 26, 2006 I have not found anything in the forums for attachments in contact Us box does anyone have any ideas how to put attachments so that my clients can send me photos or files attach, I rally need this, just a bit of code thanks in advance
Pica Posted April 3, 2006 Posted April 3, 2006 Hello, I am looking for the same thing... and still found nothing ! On the other hand, I found this in the /includes/classes/email.php file : * This function will read a file in * from a supplied filename and return * it. This can then be given as the first * argument of the the functions * add_html_image() or add_attachment(). */ function get_file($filename) { $return = ''; if ($fp = fopen($filename, 'rb')) { while (!feof($fp)) { $return .= fread($fp, 1024); } fclose($fp); return $return; } else { return false; } } Is this useful to what I need ?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.