Get ready for BLACK FRIDAY shopping starting in

Forums

ASP

This topic is locked

ARRRRHH Forms!!!

Posted 27 Dec 2001 19:06:32
1
has voted
27 Dec 2001 19:06:32 simon bloodworth posted:
This probably seems like a really stupid request but i have a .asp site and on the links page a simple form with Title, Email, Description, and logo! i have a file field for logo in which on submit i want to recieve an email with the details and an attachment of the file they send. Is that possible? All i get is a link i.e. c:my documents/test.gif in my email

Regards

Replies

Replied 27 Dec 2001 21:47:11
27 Dec 2001 21:47:11 Joel Martinez replied:
well, from that description, I assume that you are not actually uploading the file. you'll need to use something like pure asp upload to actually get the file on the webserver...
then, and only then, you can use CDO mail to attach it to the email... cdo has an attachfile method

objCDO.attachfile(server.mappath("uploadedImages/test.gif")

Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/

Reply to this topic