1. No one Important
    Devshed Novice (500 - 999 posts)

    Join Date
    Aug 2000
    Rep Power
    Hi there, I was wondering if anyone can help me?

    I am trying to track down a feedback form similir to Matt Wright's script that would allow the the sending of File Attachements added to the email by the user.

    I am looking at using MIME email format, with an auto detection of mime type.

    I would like the user to select a file via a browse button, then when the form is processed it attaches the file as a mime attachement.

    Is there anyone who could help me? or provide me with some urlsof where I could find such a script??


  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2000
    Rep Power
    Have you found your script? CGI.pm, which you surely have, will allow file uploads. There is a small security (is that an oxymoron?) issue with allowing file uploads and it is not universally compatible...

    I recommend Lincoln Stein's book on CGI.pm but his program examples (including a file upload demo and script) are here:

    Try the demo, it's pretty cool.

    Once you have the file on your server, the MIME::Lite perl module can send a MIME encoded email in just a few lines.


IMN logo majestic logo threadwatch logo seochat tools logo