With FrontPage 2003 can I add a button to email a whole page usin.

P

paloaltosteve

While it is possible to use a server side email service, the email then comes
from the website. We want the user of the website to use their own email
client (like OutlooK) to send the email.

While <a href="mailto:[email protected]?subject=ccccccc&body=dddddddd"> would
work, it would require duplicating the information in the Body and make the
page much larger.

IE5 offers an "email" this page feature, but most users do not see it so we
want to put a button on the page for that.
 
K

Kevin Spencer

While it is possible to use a server side email service, the email then
comes
from the website. We want the user of the website to use their own email
client (like OutlooK) to send the email.

Unless you have some really good reason to do this, it's a bad idea which is
difficult to implement, and requires a level of programming expertise not
held by many programmers. The thing is, Outlook is simply an email client,
like CDONTS on the server, which you don't want to use for some odd reason.
Outlook can fetch and store email from a Pop3 (or other) mail server. It has
tools for composing email messages and sending them via an SMTP server.
CDONTS is a COM DLL that can create and send emails via an SMTP server. It
is a DLL, having no user interface, as its function is to be used
programmatically by a process. You want to send the contents of an HTML
document via SMTP to somebody. You don't need a User Interface for creating
the message. Your server-side app will do that. Other than that, the email
message is sent in exactly the same way, regardless of whether you use
Outlook, CDONTS, Pegasus, or any other SMTP client. To use the user's
Outlook, you would have to write a custom ActiveX control, Java Applet, or
some other client-side executable, to get to Outlook from the browser.

A button does one thing: It performs a click event. A submit button submits
a form. You don't want a button. You want a custom web application. For
that, you need a professional developer.

If you can't afford a professional developer, you might set your sights a
bit lower. There are plenty of things that can be done by existing FrontPage
components and add-ins without programming. But you're limited to what those
things can do.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
K

Kevin Spencer

One thing that occurs to me on reflection. You said "the email then comes
from the website." This is not true. CDONTS can compose and send an email
with any email address, or a list of email addresses to send an email TO,
and any email address to send the email FROM.

HOWEVER,

If the SMTP server that CDONTS uses is not configured to allow relaying, the
return address must be from the server's domain, or the email will be
rejected by the SMTP server. The good news is, SMTP servers are highly
configurable, and you can certainly set up the SMTP server to allow
relaying, or allow authentication.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
I get paid good money to
solve puzzles for a living
 
P

paloaltosteve

We really just want to provide the same function that IE5/6 does with its
"email this page" function. How can we do it?
 
T

Tom Pepper Willett

Take a look here:
http://www.aspin.com/home/tutorial/email/tellafri

--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
FrontPage 2002 Server Extensions Support Center:
http://support.microsoft.com/default.aspx?scid=fh;en-us;fp10se
===
| We really just want to provide the same function that IE5/6 does with its
| "email this page" function. How can we do it?
|
|
| "Kevin Spencer" wrote:
|
| > One thing that occurs to me on reflection. You said "the email then
comes
| > from the website." This is not true. CDONTS can compose and send an
email
| > with any email address, or a list of email addresses to send an email
TO,
| > and any email address to send the email FROM.
| >
| > HOWEVER,
| >
| > If the SMTP server that CDONTS uses is not configured to allow relaying,
the
| > return address must be from the server's domain, or the email will be
| > rejected by the SMTP server. The good news is, SMTP servers are highly
| > configurable, and you can certainly set up the SMTP server to allow
| > relaying, or allow authentication.
| >
| > --
| > HTH,
| > Kevin Spencer
| > ..Net Developer
| > Microsoft MVP
| > I get paid good money to
| > solve puzzles for a living
| >
message
| > | > > While it is possible to use a server side email service, the email
then
| > comes
| > > from the website. We want the user of the website to use their own
email
| > > client (like OutlooK) to send the email.
| > >
| > > While <a href="mailto:[email protected]?subject=ccccccc&body=dddddddd">
would
| > > work, it would require duplicating the information in the Body and
make
| > the
| > > page much larger.
| > >
| > > IE5 offers an "email" this page feature, but most users do not see it
so
| > we
| > > want to put a button on the page for that.
| >
| >
| >
 
P

paloaltosteve

Unfortunately this code uses the server's email facility and the request was
to use the clients email program, just the way Internet Explorer 6.0 does
when you choose "Tools", "Mail & News","Send Page".
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top