View Full Version : Attaching documents to email from a website form
darkannie
03-07-2003, 09:53 AM
i've seen this on other websites and was looking to know where to go to pick up this code. i have a form that could use someone sending an rtf attachment to my email address from the form they're using. the form is coded without use of outlook or whichever default email program you have and goes straight to my email address. is this CGI, javascript, or DHTML? or is it applicable for only certain kinds of browsers? or is it not even classed in these programming languages?
speedracer
03-07-2003, 12:14 PM
i use serverside language for what you're describing. php or asp, jsp etc. pick a language you'll like to learn and find many email scripts already written for that purpose and incorporate them into your web page and server. i use and many others here use php language because its pretty easy to learn and most hosting servers will support them.
darkannie
03-07-2003, 12:28 PM
doesn't really answer my question. i tried reading the source from the website that featured it. but i couldn't tell what was for whom. so i took the code limited to the attachment "browse file" button and input field, but it busted up the entire form. i know i was missing an imperative section to the code, i just couldn't decipher which was which. if i just had a link to go by to get this code then i could work it out ... or it a little more complex than that?
speedracer
03-07-2003, 12:37 PM
that's why you would have to pick a language and learn... we have a excellent php(my recommendation) forum here to get you started.
and there are many scripts already written http://www.hotscripts.com/ and they usually have instructions for you to follow but you have to know little about the language for you to follow them. not hard though... also, you would need a server(hosting company) that will support the language and most company will support php at no cost and hosting price is very reasonable.
imperative section to the code your describing is usually hidden in the server section and those codes you can download from hotscripts
Mhtml
03-30-2003, 05:36 AM
Like speedracer said learn a server side language.
The reason you couldn't get the source is because it is executed on the server side, not client side like javascript hence you can't see it.
A server side language will execute code and return the html formatting (or not ;)) ...
IMO you don't just need to learn a server side language but a client side. If you knew client side basics you wouldn't have needed to post this.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.