Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Forms - Sending a file via email 3

Status
Not open for further replies.

Delameko

Programmer
Oct 14, 2003
37
GB
Greetings,

is there a way to send a file via a form to an email address without using server side scripting?

I'm trying to create a form for my users to upload a file to me, but my sites architecture (which I'm not involved in) won't let me use ASP in any fashion.

Thanks in advance,
 
There is a commercial Perl script available from called Attachment Mailer. This will allow your visitors to send you files along with other details from a form and it will be received as an attachment in your email. Very easy to set up and good support. Otherwise you might find some other scripts which are written in PHP or Perl if you search through HotScripts or one of those sites. There are heaps of scripts (some free) which will keep the files in a database on the server, or which send the files back to your user. It just depends on the functions you really need.
 
The answer to this is no, Delameko. You can't manage file uploads as part of a form submission without some kind of server-side processing. The solution posted by JillC requires Perl to be set up server-side to work.

Cheers,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
One workaround if you have no way to use a server-side solution would be to find a third party form processor or find a free host who you can setup the script on and simply link to that from your form.

The only problem with using a free host is you can't always rely on them and if their server is down, the user would get an error when they tried to submit the form.

Hope this helps

Wullie

Fresh Look - Quality Coldfusion 7/Windows Hosting

The pessimist complains about the wind. The optimist expects it to change. The leader adjusts the sails. - John Maxwell
 

Thanks for the responses.

I'll try the workaround, if I can't get that working, I'll have to leave to someone else.

It's just so annoying when the site is so tightly designed that you're strangled creatively... oh well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top