FRONT PAGE E-MAIL FORM

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

FRONT PAGE 2003 SP-1
CREATING WEB SITE OUTSIDE OF A WIZARD. HAVE DESIGNED AN E-MAIL FORM WITH A
"SEND" BUTTON, WITH A LINK FROM EACH WEB PAGE TO THE E-MAIL FORM. HOW DO I
CAUSE THE E-MAIL FORM TO BE SENT BY CLICKING ON THE "SEND" BUTTON? MUCH THE
SAME AS THIS FORM IS SENT BY CLICKING ON THE "SUBMIT" BUTTON.

OR

I RECEIVED AND E-MAIL TODAY FROM A COMPANY THAT ASKED FOR A REPLY. THEY
HOWED AN E-MAILL ADDRESS IN THE BODY OF THEIR E-MAIL TO ME, AND WHEN I
CLICKED ON IT, UP CAME THE STANDARD E-MAIL FORM WITH MY ADDRESS IN THE "FROM'
LINE AND ADDRESSED TO THEM IN THE "TO" LINE. WHATEVER WAY THAT WORKS WOULD
ALSO BE FINE., EXCEPT I WOULD LIKE TO HAVE MY FORM TO GET THEIR NAME,
ADDRESS, ETC. IN THE BODY OF THE E-MAIL.

ONE OTHER EMBILLISHMENT WOULD BE NICE. THAT THE TITLE OF THE WEBPAGE FROM
WHICH THE E-MAIL IS ORIGINATED SHOW IN THE "SUBJECT" LINE.

THANK YOU FOR YOUR SUGGESTIONS.
 
As Trevor L. has already asked, please stop using all-capitals - it is
considered shouting.

Please always post your questions in lower case) and then maybe someone will
answer your query.


You need to host your site on a web server.

To use the Frontpage form handler feature:

The server must support 1) the Frontpage extensions and 2) the host must
have enabled the email-transport function to send the form's data.

In the page with the form, right click the mouse within the form, and look
at the Form Properties. it will give several "Send to..." type options. If
you use the Frontpage server extensions, choose the first option and type in
your email address in the field. Then save and publish the page. Note, it
must have an *.htm extension. (or *.html).

Publish the page to your host via http: method in Frontpage (not by FTP).

Access the site as normal in a web browser and fill inthe form and send it.
You should receive the email (to whatever address you specified) - check
your email through your email client (Outlook, or whatever...).

Read the help files - they are quite comprehensive and relatively easy to
follow.

You might find this resource on my site helpful too:
http://www.murraywebs.com/faq.asp. Go to the FAQ's in the drop-list
regarding using the forms to send email.

There are other methods; but your server must support server side scripting
languages and this depends on what your host allows/supports.
Discuss with them any specific requirements.

Your second question:

The way to put the subject in an email from a link is as follows: <a
href="mailto:[email protected]">Email me</a>
The above is a standard email link, and it puts the '(e-mail address removed)
in the "To" box of the email program's message window.

You can add two options

?subject=This is the subject e.g. mailto:[email protected]?subject=This
is the subject of this email

and
?body=this is the body e.g. mailto:[email protected]?body=this is the
body of the message

or combined such as mailto:[email protected]?subject=this is the
subject&body=this is the body of the message

Experiment. It's a handy feature. Be warned though, using mailto links
these days invites spam.


Hope that sorts it out for you.


Cheers

Andrew M
 
Back
Top