Re: Adding attachment to CDO.message object

From: Kevin Spencer (kspencer_at_takempis.com)
Date: 05/06/04


Date: Thu, 6 May 2004 11:20:08 -0400

What version of FrontPage are you using?

As for examples of code, I don't know of any. You're talking about a custom
application here. Perhaps there is something out there on the Internet
somewhere, but I wouldn't know.

-- 
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"bonnie" <anonymous@discussions.microsoft.com> wrote in message
news:952a01c43377$17839280$a301280a@phx.gbl...
> How can I use the file upload component to get the file to
> attach to the email I am creating in my script? Or where
> can I find examples of code that I can look at?
>
> Thanks,
> Bonnie
>
> >-----Original Message-----
> >Find out more about how to do what?
> >
> >-- 
> >HTH,
> >Kevin Spencer
> >..Net Developer
> >Microsoft MVP
> >Big things are made up
> >of lots of little things.
> >
> >"Bonnie" <anonymous@discussions.microsoft.com> wrote in
> message
> >news:926901c4335e$8d0f0250$a601280a@phx.gbl...
> >> Hi Kevin,
> >>
> >> Thanks for the response. Do you have a link where I can
> go
> >> to find out more about how to do that?
> >>
> >> Thanks again!
> >> Bonnie
> >>
> >> >-----Original Message-----
> >> >Hi Bonnie,
> >> >
> >> >It is possible. However, assuming that you want the
> user
> >> to attach a file
> >> >from THEIR machine, you would have to create a form
> which
> >> has an "input
> >> >type=file" form field in it, and write the code that
> >> allows them to do the
> >> >upload. FrontPage 2003 has a file upload component that
> >> you can use, or you
> >> >can write your own ASP application to do it.
> >> >
> >> >-- 
> >> >HTH,
> >> >Kevin Spencer
> >> >..Net Developer
> >> >Microsoft MVP
> >> >Big things are made up
> >> >of lots of little things.
> >> >
> >> >"Bonnie" <anonymous@discussions.microsoft.com> wrote in
> >> message
> >> >news:8f9f01c432e1$6448a790$a301280a@phx.gbl...
> >> >> I am using the CDO.message object to create an email
> >> >> message in the script on my ASP page and I would like
> >> the
> >> >> ability to let the user add an attachment to the
> email.
> >> I
> >> >> know I can do it like this:
> >> >>
> >> >> objMsg.AddAttachment("c:\temp\aaradvark.jpg")
> >> >>
> >> >> And I can get the user to put the file's path on a
> form
> >> >> and plug that into the code. But what I really want
> to
> >> do
> >> >> is let the user actually browse to get the
> attachment,
> >> (as
> >> >> in Outlook). Is this possible using vbscript over the
> >> web?
> >> >>
> >> >> Thanks for your help!
> >> >> Bonnie
> >> >
> >> >
> >> >.
> >> >
> >
> >
> >.
> >


Relevant Pages

  • Re: Scripting question
    ... Kevin Spencer ... Microsoft MVP ... "Bonnie" wrote in message ... > Dim strBody ...
    (microsoft.public.frontpage.programming)
  • Re: Adding attachment to CDO.message object
    ... "Bonnie" wrote in message ... >>can write your own ASP application to do it. ... >>Kevin Spencer ... >>Microsoft MVP ...
    (microsoft.public.frontpage.programming)
  • Re: Saving Frontpage files
    ... Save a file: Hit the Save button. ... Create an email and attach the file. ... Kevin Spencer ... Microsoft MVP ...
    (microsoft.public.frontpage.programming)
  • Re: Hyperlinking to Word documents
    ... >>Word when it is hosted in a browser as you have without ... >>Kevin Spencer ... >>Microsoft MVP ... >>> document and attach it to an email ect. ...
    (microsoft.public.frontpage.client)
  • Re: .doc saved as wordpad
    ... > file name and tell it to open with wordpad. ... >> ..dot file types in the Windows Registry. ... >> Microsoft MVP ... >>> Bonnie ...
    (microsoft.public.word.docmanagement)