Zen Cart Logo
Forums / General Questions / Attach files to ZC contact us emails?

Attach files to ZC contact us emails?

Views: 639

Results 1 to 5 of 5
9 May 2012, 5:07 PM
#1
onejimb avatar

onejimb

New Zenner

Join Date:
Apr 2009
Posts:
31
Plugin Contributions:
0

Attach files to ZC contact us emails?

Is there a way to allow customers to attach a file to the Contact Us emails?

Thanks for your help.

10 May 2012, 2:39 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Attach files to ZC contact us emails?

For what purpose?

File Upload is quite a security risk.

What are you trying to capture, and why?

10 May 2012, 2:51 PM
#3
davowave avatar

davowave

New Zenner

Join Date:
Mar 2009
Posts:
90
Plugin Contributions:
0

Re: Attach files to ZC contact us emails?

Like the migrational fairestcape pointed out, file uploads are a security risk, so you'll need to do a little reading to make sure you don't get people uploading dodgy scripts to your server, but don't worry there's plenty of resources online telling you what you need to do.

If you google about file upload php you'll find plenty of websites giving you the code and instructions on how to do this, in fact if you stick zencart in with you query you'll probably get the exact code you need, I just googled and there's a bunch of threads you should have alook at.

There's no easy switch inthe admin as far as I know, if that was what you were hoping for :)

10 May 2012, 10:20 PM
#4
onejimb avatar

onejimb

New Zenner

Join Date:
Apr 2009
Posts:
31
Plugin Contributions:
0

Re: Attach files to ZC contact us emails?

The purpose is to ask customer to submit suggestions for new products. I make t shirts and want customers to suggest new images to place on the t shirts. I would ask customers to send an email with their image suggestion attached. The script would need to limit the type of files to gif, jpg or png and would need a CAPTCHA.

Thanks for your help

12 May 2012, 2:49 PM
#5
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Attach files to ZC contact us emails?

We used an external system called MACHFORM to create a comprehensive customer enquiry form.

See it on our site HERE