Hi. I would like to know if this is possible to do with PHP: I would like to have my user's be able to send me an email, with an attachment. I would also like to have a browse... thing to show the attachment. Also, is it possible to have 2 attachments, or am I pushing it ?
Thannks,
Sportzguy933
well it is doable but takes a bit of work. I have attached some php which I wrote for the related problem of sending a text + html mail; feel free to adjust it to your needs
For the upload you can use flash 8 or use a conventional html form
Sorry, took a look at the files, COMPLETELY LOST! I don't understand anything! Also, I will be using an HTML form. I'm not 100% sure on how to do that either, but I'm sure I'll be able to figure that out .
Thanks,
Sportzguy933
suggestion: make the test script working (add one of your swf files and change file names and mail addresses if necessary ). When you get the mail, save entire message as text (for outlook, this will probably an .eml file) and view that in notepad. Seeing the parts of an actual MIME message helps a lot understanding it.
The htmlmail file is meant to be used as is, with another file setting up the actual messages and the list of attachments
Well, I want my users to be able to send the attachments............. I'll take a look, but I don't think I'm good enough with PHP yet to modify it correctly .
Thanks,
Sportzguy933
Perhaps nobody is helping you because you insist on calling people idiots and telling folks how much their sites suck. Maybe if you exhibited even the slightest bit of class you might get somewhere.
You just hate me don't you? Either that, or you love picking on me.
Have a nice day Juinor.
Hate is a strong word, and one that I use sparingly.... but I have to admit that I find you sort of annoying. You seem to expect people to help you with your problems and provide examples for you within a couple hours of your posts... all the while making rude comments toward the same people you expect to provide you with help.
Granted, Flashkit has become sort of a haven for people like you (there was a time when many pro developers actually frequented the site and there was a little mutual respect... those days are long gone), but it's still bothersome.
here is a tested script - note that
a) there is not much more in the html part than there is in the plain part
b) the htmlmail.php include file got a slight change
c) the CID stuff in it is not used