473,718 Members | 2,060 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Attach file to Page for Emailing

I'm trying to build a page that the user can attach a file/s to and email
them thru a form. I see plenty of info on how to actually code it to send
with a variable - but how do you build a form that allows user go out and
browse for a file? Then loads the path into a form?
Jess
Aug 24 '06 #1
5 2671
You need to upload the file to your server first.

As for allowing the user to do it ....

<input type="file" name="flFile">

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jess" <Je**@discussio ns.microsoft.co mwrote in message
news:2E******** *************** ***********@mic rosoft.com...
I'm trying to build a page that the user can attach a file/s to and email
them thru a form. I see plenty of info on how to actually code it to send
with a variable - but how do you build a form that allows user go out and
browse for a file? Then loads the path into a form?
Jess

Aug 24 '06 #2
Do you need something like aspUpload to upload it to the server first?

"Steven Burn" wrote:
You need to upload the file to your server first.

As for allowing the user to do it ....

<input type="file" name="flFile">

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jess" <Je**@discussio ns.microsoft.co mwrote in message
news:2E******** *************** ***********@mic rosoft.com...
I'm trying to build a page that the user can attach a file/s to and email
them thru a form. I see plenty of info on how to actually code it to send
with a variable - but how do you build a form that allows user go out and
browse for a file? Then loads the path into a form?
Jess


Aug 24 '06 #3
http://aspfaq.com/show.asp?id=2189

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jess" <Je**@discussio ns.microsoft.co mwrote in message
news:FB******** *************** ***********@mic rosoft.com...
Do you need something like aspUpload to upload it to the server first?

"Steven Burn" wrote:
You need to upload the file to your server first.

As for allowing the user to do it ....

<input type="file" name="flFile">

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jess" <Je**@discussio ns.microsoft.co mwrote in message
news:2E******** *************** ***********@mic rosoft.com...
I'm trying to build a page that the user can attach a file/s to and
email
them thru a form. I see plenty of info on how to actually code it to
send
with a variable - but how do you build a form that allows user go out
and
browse for a file? Then loads the path into a form?
Jess

Aug 24 '06 #4
Any other links? That one's been down for awhile.

Thanks for the help.
Jess

"Steven Burn" wrote:
http://aspfaq.com/show.asp?id=2189

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jess" <Je**@discussio ns.microsoft.co mwrote in message
news:FB******** *************** ***********@mic rosoft.com...
Do you need something like aspUpload to upload it to the server first?

"Steven Burn" wrote:
You need to upload the file to your server first.
>
As for allowing the user to do it ....
>
<input type="file" name="flFile">
>
--
Regards
>
Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk
>
Keeping it FREE!
>
"Jess" <Je**@discussio ns.microsoft.co mwrote in message
news:2E******** *************** ***********@mic rosoft.com...
I'm trying to build a page that the user can attach a file/s to and
email
them thru a form. I see plenty of info on how to actually code it to
send
with a variable - but how do you build a form that allows user go out
and
browse for a file? Then loads the path into a form?
Jess
>
>
>


Aug 24 '06 #5
http://www.aspupload.com/Manual.htm
http://www.freeaspupload.net/
http://www.asp101.com/articles/jacob/scriptupload.asp

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jess" <Je**@discussio ns.microsoft.co mwrote in message
news:CF******** *************** ***********@mic rosoft.com...
Any other links? That one's been down for awhile.

Thanks for the help.
Jess

"Steven Burn" wrote:
http://aspfaq.com/show.asp?id=2189

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jess" <Je**@discussio ns.microsoft.co mwrote in message
news:FB******** *************** ***********@mic rosoft.com...
Do you need something like aspUpload to upload it to the server first?
>
"Steven Burn" wrote:
>
You need to upload the file to your server first.

As for allowing the user to do it ....

<input type="file" name="flFile">

--
Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!

"Jess" <Je**@discussio ns.microsoft.co mwrote in message
news:2E******** *************** ***********@mic rosoft.com...
I'm trying to build a page that the user can attach a file/s to
and
email
them thru a form. I see plenty of info on how to actually code it
to
send
with a variable - but how do you build a form that allows user go
out
and
browse for a file? Then loads the path into a form?
Jess


Aug 24 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
3718
by: tabonni | last post by:
Hi I try to grab the checked files from HTML page and then send those PDF files as attachments. It can just send email, there are no PDF files attached. Can anybody point out my error? My idea is: When people check the check boxes in HTML page for the PDF files, it will transfer the files' name to ASP page. Then, it will attach it in the email.
1
2244
by: BTHOMASinOHIO | last post by:
I am confussed on what the heck is going on ?! I have an HTML INPUT File Box on an Email Piece of an application. I know that File Size is set to 4MB in the WebConfig File and that is fine, but I have a couple problems that include the magical 4mb number. 1. My problem is that when my file is over the 4 mb limit. If the 4 MB limit is met then the code on the button I use doesn't even fire (as I have code to check the file length before...
1
1755
by: RickL | last post by:
How do you attach a file to a hyperlink so that it cab be opened when clicked? I am new to .net and web development and I need to attach a file to an asp page so that when click it can be opened it Word, or the text editor.
5
1501
by: erez | last post by:
Hello How can i attach an html file to TableRow in HtmlTable control that run at server, the code should be in server side. thanks
7
2755
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at below). Please help me get through this!!! I'm having some serious problems attaching a .mdf file and accessing it. I have a WroxUntied.mdf that I want to attach and then run the website that uses it. This is a .mdf file from wrox books. This file...
2
1502
by: Rico | last post by:
Hello, I'm using formmail.asp which is an emailing utility. Basically, the user fills out a request page, clicks "Submit" and the page posts to formmail.asp which emails the user information. I'm running IIS5 on a Win2k server box and recently ran the Windows Updates (the last time I do that). Anyway, that emailing form doesn't work now on any of the sites I host. Any ideas?
6
6438
by: eric.goforth | last post by:
Hello, I'm calling a VB.NET 2003 dll that's registered in COM+. I've added a reference to it in a VB6 DLL that I'm calling from a Classic ASP page. Previously I was able to attach to my .NET dll and debug it. I haven't been able to do this in a while and I'm thinking that it must be because I've installed VS 2005 on my machine subsequently. So in my C:\Program Files\Microsoft Visual Studio\VB98 directory I added a file called...
0
2516
by: Lexxzy | last post by:
Hi to all, I've a problem about to attach a recovered database file in the enterprise manager. My problem goes this way, I want to attach a recovered database file. So when I followed this steps: 1.) Open enterprise manager. 2.) All task and then attach database.
9
7809
by: dpatel75 | last post by:
I am trying to copy a database from a SQL 2000 SP3 Windows 2000 server to a 2005 SP2 Windows 2003 server. I am trying to use detach and attach method (have tried both within Management Studio and T-SQL) and experience an error when attaching to the 2005 server: "CREATE FILE encountered operating system error 5 (error not found) while attempting to open or create the physical file 'xxxxxxxxxxxx' (Microsoft SQL Server, Error: 5123)" I have...
0
8724
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9053
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7991
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6654
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5971
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4481
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4743
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3182
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2123
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.