Hello Jerry, I think to solve your problem you should copy the tempfile to a new directory copy($attachment, "/path/to/".$attachment_name);
And now you can open it with fopen. But you should risk a look at this: http://www.php.net/manual/en/features.file-upload.php Try it. -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php