send email on page load

A

Astidis

Hello,

I would like to send an email to a defined address every time a web page
(designed in FP) is loaded on my website. I am hoping to use the same webbot as
if the user clicked on a submit button, but instead I want the trigger to be
the page loading. Is there such a trigger? Sample code would be heaven sent.
Thanks in advance.

Alex
 
T

Thomas A. Rowe

Not possible when using the FP form component, you would need to use a server-side script solution.

Also you do realize that you will get email each time the page is loaded for the first time and well
and any returns to the page or refreshes of the page, as well as if the site get indexed by search
engines.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
A

Alex

Tom,

Giving the big picture should help. I have a registration website with
VB scripts that query an Access DB on a server with Frontpage
extensions. I would like to send an email after the VB script has
confirmed the registration. How can I transmit an email from VB script
running on a server with FP extentions? I don't know much else about
the host server.

Thanks so much for the help.

Alex
Not possible when using the FP form component, you would need to use a server-side script solution.

Also you do realize that you will get email each time the page is
loaded for the first time and well
 
S

Stefan B Rusynko

Depends on which ASP mail handler your host supports
For an example of using one using CDO see http://asp101.com/samples/email.asp




| Tom,
|
| Giving the big picture should help. I have a registration website with
| VB scripts that query an Access DB on a server with Frontpage
| extensions. I would like to send an email after the VB script has
| confirmed the registration. How can I transmit an email from VB script
| running on a server with FP extentions? I don't know much else about
| the host server.
|
| Thanks so much for the help.
|
| Alex
|
| Thomas A. Rowe wrote:
| > Not possible when using the FP form component, you would need to use
| a server-side script solution.
| >
| > Also you do realize that you will get email each time the page is
| loaded for the first time and well
| > and any returns to the page or refreshes of the page, as well as if
| the site get indexed by search
| > engines.
| >
| > --
| > ==============================================
| > Thomas A. Rowe (Microsoft MVP - FrontPage)
| > WEBMASTER Resources(tm)
| >
| > FrontPage Resources, WebCircle, MS KB Quick Links, etc.
| > ==============================================
| > To assist you in getting the best answers for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >
| | > > Hello,
| > >
| > > I would like to send an email to a defined address every time a web
| page
| > > (designed in FP) is loaded on my website. I am hoping to use the
| same webbot as
| > > if the user clicked on a submit button, but instead I want the
| trigger to be
| > > the page loading. Is there such a trigger? Sample code would be
| heaven sent.
| > > Thanks in advance.
| > >
| > > Alex
| > >
|
 
T

Thomas A. Rowe

Ok, see Stefan's reply.

The VBScript could be on the same page that does the query, but after the query is run and validated
or it could be placed on the confirmation page where it is process before the page content is
displayed.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Top