Register
FAQ
Calendar
Search
Today's Posts
Rules
Guidelines
SMS enable your application
via Clickatell’s fast, simple and reliable API's, built to integrate with any system.
Click here
to learn more.
Flash Website Builder
- Trendy Site Builder is a Flash Site Building tool that helps users build stunning websites.
Check Out Custom
Custom Logo Design
by LogoBee. Website Design and Free Logo Templates available.
CodingForums.com
>
:: Server side development
>
ASP.NET
Upload files in contact form.
User Name
Remember Me?
Password
Before you post, read our:
Rules
&
Posting Guidelines
Thread Tools
Rate Thread
Enjoy an ad free experience by logging in. Not a member yet?
Register
.
03-05-2013, 07:13 PM
PM User
|
#
1
BlackReef
Regular Coder
Join Date: Apr 2010
Posts: 188
Thanks: 96
Thanked 1 Time in 1 Post
Upload files in contact form.
I have a basic .aspx form that sends an email to us once submitted (no database).
How difficult would it be to give the user a upload image ability on this form, and then have the image sent in the email as an attachment?
Thanks!
J
BlackReef
View Public Profile
Find More Posts by BlackReef
03-06-2013, 06:16 PM
PM User
|
#
2
DanInMa
Senior Coder
Join Date: Nov 2010
Location: Salem,Ma
Posts: 1,307
Thanks: 12
Thanked 204 Times in 204 Posts
Ohh right, you wanted to just do it as an attachment. Sorry I thought you wanted to embed the image into the email itself. OK, so you will defintely need to add a fileuploadcontrol and process it in your code behind to handle the file.
Ok, I found a much better tutorial that applies,
http://www.codeproject.com/Articles/...-NET-using-SMT
__________________
-
Firebug
is a web developers best friend! -
Learn it
, Love it, use it!
-
Validate your code!
-
JQ/JS troubleshooting
-
Using jQuery with Other Libraries
-
Jslint for Jquery/other JS library users
DanInMa
View Public Profile
Find More Posts by DanInMa
03-10-2013, 05:30 AM
PM User
|
#
3
mscit
New to the CF scene
Join Date: Mar 2013
Location: India
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
i have no idea about this topic so please explain any one have an idea
mscit
View Public Profile
Visit mscit's homepage!
Find More Posts by mscit
04-04-2013, 02:29 PM
PM User
|
#
4
annaharris
New Coder
Join Date: May 2012
Location: USA
Posts: 90
Thanks: 0
Thanked 6 Times in 6 Posts
Regarding Uploading Files
Below I have mentioned a link that will help you in embedding an image in mail body and send it to the recipient.
http://code.msdn.microsoft.com/CSSMTPSendEmail-c241f55d
annaharris
View Public Profile
Visit annaharris's homepage!
Find More Posts by annaharris
04-06-2013, 10:04 AM
PM User
|
#
5
livetecshosting
New Coder
Join Date: Jul 2012
Location: Bug Tracking, Isssue Tracking
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
I would recommend this tutorial for using ASP.net file upload control
http://www.tutorialspoint.com/asp.ne..._uploading.htm
__________________
Bug Tracking
-
Web Timesheet
Time Tracking Software
livetecshosting
View Public Profile
Visit livetecshosting's homepage!
Find More Posts by livetecshosting
05-03-2013, 02:02 PM
PM User
|
#
6
annaharris
New Coder
Join Date: May 2012
Location: USA
Posts: 90
Thanks: 0
Thanked 6 Times in 6 Posts
I checked your code and it looks fine, but is it possible to upload more than one file using this code ?
annaharris
View Public Profile
Visit annaharris's homepage!
Find More Posts by annaharris
05-04-2013, 01:29 PM
PM User
|
#
7
annaharris
New Coder
Join Date: May 2012
Location: USA
Posts: 90
Thanks: 0
Thanked 6 Times in 6 Posts
The link that I shared earlier provides the solution to upload more than one image in your email message.
annaharris
View Public Profile
Visit annaharris's homepage!
Find More Posts by annaharris
05-06-2013, 01:55 PM
PM User
|
#
8
annaharris
New Coder
Join Date: May 2012
Location: USA
Posts: 90
Thanks: 0
Thanked 6 Times in 6 Posts
The link that I shared earlier provides the solution to upload more than one image in your email message.
annaharris
View Public Profile
Visit annaharris's homepage!
Find More Posts by annaharris
Bookmarks
del.icio.us
StumbleUpon
Google
Digg
Jump To Top of Thread
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Rate This Thread
Rate This Thread
:
5 : Excellent
4 : Good
3 : Average
2 : Bad
1 : Terrible
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Forum Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
:: Client side development
JavaScript programming
DOM and JSON scripting
Ajax and Design
JavaScript frameworks
Post a JavaScript
HTML & CSS
XML
Flash & ActionScript
Adobe Flex
Graphics and Multimedia discussions
General web building
Site reviews
Building for mobile devices
:: Server side development
Apache configuration
Perl/ CGI
PHP
Post a PHP snippet
MySQL
Other Databases
Ruby & Ruby On Rails
ASP
ASP.NET
Java and JSP
Other server side languages/ issues
ColdFusion
Python
:: Computing & Sciences
Computer Programming
Computer/PC discussions
Geek News and Humour
Web Projects and Services Marketplace
Web Projects
Small projects (quick fixes and changes)
Medium projects (new script, new features, etc)
Large Projects (new web application, complex features etc)
Unknown sized projects (request quote)
Vacant job positions
Looking for work/ for hire
Project collaboration/ partnership
Paid work offers and requests (Now CLOSED)
Career, job, and business ideas or advice
Domains, Sites, and Designs for sale
Domains for sale
Websites for sale
Design templates and graphics for sale
:: Other forums
Forum feedback and announcements
All times are GMT +1. The time now is
01:55 PM
.
Advertisement
Log in to turn off these ads.
Web Hosting UK
|
Dedicated Server Hosting
|
Shareware Junction
|
Software Geek
|
Flash file uploader
|
Cloud Server
|
Web Hosting Australia
Home
-
Contact Us
-
Archives
-
Link to CF
-
Resources
-
Top
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.