View Full Version : Mail Problem

11-24-2010, 11:32 AM
hi guys..
i am using php to send mail with 4 attachements from my local Computer.. and everything is working fine..

but when i saved the mail in database the attachements will not be saved.. so

1- how to save attachment in my database... to let the user send the saved mail with its attachment (like saving draft in outlook, hotmail............)


2- i want to know how i can make the user browse his server while pressing on "browse" to send the file that exists on server as attachement coz the files are uploaded in it's server.

any help please

11-24-2010, 11:50 AM
also i have another idea... i can save file name of the file uploadded in database and select this file form the folder uploaded in.. and then send it in my mail as attachemnt

filename1.pdf "send as attachement"
filename2.jpg "send as attachement"

so when i choose the files using checkboxes i can send them.. but i dont know how to send a file that exits on server as attachement in my mail without browsing????/