Hi Pekoe,

> I am using formmail.asp ...(SMTPsvg)...
> ...I would like for the visitor to be able to attach
> a text or MS Word document to the form before sending
> it. Is there a line of code or something that I can
> insert in this section to accomplish that?

There's a pretty close to step by step instruction of how to work with
CDO here:
  http://www.aspfaq.com/show.asp?id=2026
...the important aspect being"
  .AddAttachment "c:\path\to\file.txt"

This path references a file ON THE SERVER. You must first have them
upload the file to the server (or handle it via a two-step operation
where the file gets uploaded in the first operation then forwards the
remaining request to the actual emailing script). Code & component
references for receiving a file upload aspect is here:
  http://www.aspfaq.com/show.asp?id=2189

Regards,

Shawn K. Hall
http://ReliableAnswers.com/

'// ========================================================
   "Oh...I listen a lot and talk less.
    You can't learn anything when you're talking."
      -- Bing Crosby




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/17folB/TM
--------------------------------------------------------------------~-> 

---------------------------------------------------------------------    
 Home       : http://groups.yahoo.com/group/active-server-pages
---------------------------------------------------------------------
 Post       : [EMAIL PROTECTED]
 Subscribe  : [EMAIL PROTECTED]
 Unsubscribe: [EMAIL PROTECTED]
--------------------------------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/active-server-pages/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to