ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Attaching file to contact.asp
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Attaching file to contact.asp

 Post Reply Post Reply
Author
Message
Andy @ Landmarq View Drop Down
Newbie
Newbie
Avatar

Joined: 12-November-2008
Location: London
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andy @ Landmarq Quote  Post ReplyReply Direct Link To This Post Topic: Attaching file to contact.asp
    Posted: 17-February-2009 at 10:26am
Hello fellow carter's Smile

We are adding a quote request page to our site and I'm looking for an easy way to attach a file to the mails sent via contact.asp as we want people to be able to send quotes from our competitors, I tried googling around but could not find a code snippet that seemed to fit in with the existing code.

Has anyone out there done this or would I need to forget contact.asp and look at a whole new page of code?

As always any help gratefully recevied Smile
Need a bespoke PC built to order? come to www.landmarq.co.uk
Back to Top
rotokirby View Drop Down
Senior Member
Senior Member
Avatar

Joined: 22-April-2007
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote rotokirby Quote  Post ReplyReply Direct Link To This Post Posted: 17-February-2009 at 8:02pm
Not sure if you're interested in a third party solution, but we use wufoo.com for a collection form on our site (and on a couple other sites) and love it.

http://wufoo.com

There is an option with Wufoo to have someone attach a file. Here's how we use it (art submission form):

http://rotofugi.com/toyscart/pc/viewContent.asp?idpage=33
Rotofugi Designer Toy Store & Gallery
Chicago > IL > US
http://rotofugi.com
Back to Top
Andy @ Landmarq View Drop Down
Newbie
Newbie
Avatar

Joined: 12-November-2008
Location: London
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote Andy @ Landmarq Quote  Post ReplyReply Direct Link To This Post Posted: 20-February-2009 at 11:22am
Thanks rotokirby I shall have a look through and see what we think (and if I can pry the credit card from the bosses fingers) LOL
Need a bespoke PC built to order? come to www.landmarq.co.uk
Back to Top
Greg Dinger View Drop Down
Certified ProductCart Developers
Certified ProductCart Developers
Avatar

Joined: 23-September-2006
Location: United States
Status: Offline
Points: 238
Post Options Post Options   Thanks (0) Thanks(0)   Quote Greg Dinger Quote  Post ReplyReply Direct Link To This Post Posted: 20-February-2009 at 11:48am
Andy - sending attachments via a web form such as contact.asp largely depends upon which mail component (selected from the e-mail settings screen in the admin) you are using.  Some will allow an attachment, some will not.  For example, I'm fairly certain that CDO and ASPMAIL could be caused to do this.
 
PC uses a common "sendmail" function to send messages.  Rather than worrying that a change to that file might cause a conflict elsewhere, it might be easiest to clone that code and adapt it to recognize an uploaded file from the contact page.  Then one might add a form field that allows the user to point to a file on their desktop, revise contact.asp to call an altered copy of sendmail that knows about that upload, and uses a component that has the ability to send attachments. 
 
A further issue that could potentially arise would be file size.  You have not mentioned the size of such files to be sent, but it's possible you could run into timeout (or other) issues if files are too large.
 
So if the boss wants to cut loose of the credit card and build such a feature, you could check with me or any of the developers around here to discuss the project.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.030 seconds.