Running an ASP inside OUTLOOK
Hi there ASP gurus!
Guys, do any of you have an idea on how I can run an ASP code inside an Outlook
email without launching the Internet Explorer?
You see I have this VB App which sends an email in HTML format. Then the
authorization button inside the mail would update certain fields in a db,
this is where I used ASP, but Internet Explorer launches when processing
the ASP. Is there anyway for me to control this, I mean, a msgbox would suffice.
Thanks a lot!
[499 byte] By [
snake-eyes] at [2007-11-9 15:35:41]

# 1 Re: Running an ASP inside OUTLOOK
Actually, no...
Active Server Pages use scripting that runs in IIS or PWS server-side
software. Those scripts are triggered by the web-page request. When
Outlook looks at an HTML-encoded e-mail message, all it can do is "emulate"
the browser's interpretation of the tags found within the message
Server-side scripts cannot be interpreted by any e-mail client that I have
seen. What are you trying to do that requires it?
Russ Wickstrom, MCP
PC Support Analyst
Billy Graham Evangelistic Association
Minneapolis, MN
Ph: 612 335-1300x2291
Fx: 612 359-7081
rwickstrom@bgea.org
--
"snake-eyes" <ubayc@wpro.who.int> wrote in message
news:3945a4e8$1@news.dev-archive.com...
>
> Hi there ASP gurus!
>
> Guys, do any of you have an idea on how I can run an ASP code inside an
Outlook
> email without launching the Internet Explorer?
> You see I have this VB App which sends an email in HTML format. Then the
> authorization button inside the mail would update certain fields in a db,
> this is where I used ASP, but Internet Explorer launches when processing
> the ASP. Is there anyway for me to control this, I mean, a msgbox would
suffice.
>
> Thanks a lot!
>
# 2 Re: Running an ASP inside OUTLOOK
I have to update certain fields in a SQL Server and then reroute a different
version of the email to another recipient. i was able to do it using ASP
by referencing it in my machine which is running IIS. I put a submit button
with action referencing an ASP in my machine, in an HTML format email body.
But the problem is that Internet Explorer launches upon execution of the
ASP. This is where the problem begins, is there any way to control Internet
Explorer from launching? can outlook access the ASP URL from my machine without
launching IE?
Thanks for the time man.
# 3 Re: Running an ASP inside OUTLOOK
no it cant if you only ask it to do the post/get via html, but you can embed
an applet or a control in the html that can talk via the url class to the
remote page, that doesn't spawn an intance of ie. You could also try using
the web browser control in the page.
Regards
John Timney (MVP)
snake-eyes <ubayc@wpro.who.int> wrote in message
news:3946d0f2$1@news.dev-archive.com...
>
> I have to update certain fields in a SQL Server and then reroute a
different
> version of the email to another recipient. i was able to do it using ASP
> by referencing it in my machine which is running IIS. I put a submit
button
> with action referencing an ASP in my machine, in an HTML format email
body.
> But the problem is that Internet Explorer launches upon execution of the
> ASP. This is where the problem begins, is there any way to control
Internet
> Explorer from launching? can outlook access the ASP URL from my machine
without
> launching IE?
>
> Thanks for the time man.
>
# 4 Re: Running an ASP inside OUTLOOK
You could use xmlhttp which is part of the IE5 XML engine. It allows you to
do asynchronous communication with a server without a page refresh. Look for
the string 'xmlhttp' on dev-archive. There is an article which explains the ins and
outs of using this method.
"John Timney (MVP)" <timneyj@btinternet.com> wrote in message
news:3947f1e0@news.dev-archive.com...
> no it cant if you only ask it to do the post/get via html, but you can
embed
> an applet or a control in the html that can talk via the url class to the
> remote page, that doesn't spawn an intance of ie. You could also try
using
> the web browser control in the page.
>
> Regards
>
> John Timney (MVP)
>
> snake-eyes <ubayc@wpro.who.int> wrote in message
> news:3946d0f2$1@news.dev-archive.com...
> >
> > I have to update certain fields in a SQL Server and then reroute a
> different
> > version of the email to another recipient. i was able to do it using ASP
> > by referencing it in my machine which is running IIS. I put a submit
> button
> > with action referencing an ASP in my machine, in an HTML format email
> body.
> > But the problem is that Internet Explorer launches upon execution of the
> > ASP. This is where the problem begins, is there any way to control
> Internet
> > Explorer from launching? can outlook access the ASP URL from my machine
> without
> > launching IE?
> >
> > Thanks for the time man.
> >
>
>
# 5 Re: Running an ASP inside OUTLOOK
Have you considered using an Outlook custom form instead of sending and HTML
page? This would work as long as you are only sending to Outlook
recipients, and co-incidentally uses vbscript for coding the forms.
snake-eyes wrote in message <3945a4e8$1@news.dev-archive.com>...
>
>Hi there ASP gurus!
>
>Guys, do any of you have an idea on how I can run an ASP code inside an
Outlook
>email without launching the Internet Explorer?
>You see I have this VB App which sends an email in HTML format. Then the
>authorization button inside the mail would update certain fields in a db,
>this is where I used ASP, but Internet Explorer launches when processing
>the ASP. Is there anyway for me to control this, I mean, a msgbox would
suffice.
>
>Thanks a lot!
>