Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Generating an email when new item posted

Status
Not open for further replies.

domino3

MIS
May 20, 2003
307
GB
Is it possible to set up a discussion board to automatically send and email to the moderator when a new posting is made? And is possible to show what address the email came from?

Thank you.
 
Yes you can do this with FrontPage. Rather than go into detail, Tina has a great tutorial Here which will explain this and other tricks. She has a lot of other useful tutorials. Just about everything you need for a FrontPage web.

Unfortunately, you will not capture the email unless they include it in the post itself. The email will be coming from the server, not the form user.

Following Tina's instructions, you can receive the email. I am only guessing here, but I think if you can add the email, you might also be able to add the Reply to: and Subject

This code for these is ...

Code:
  B-Email-ReplyTo-From-Field="TRUE" S-Email-ReplyTo="email"
  B-Email-Subject-From-Field="FALSE" S-Email-Subject="Discussion Post"

You might find Discussion Post useful as the subject and be sure to change email to the field name you are using foor email. You will need to create a one line text box field on disc1_post.htm If you name it email then the above code is already set for you.

Keep in mind, I am just guessing about the Reply to and subject. It should work by placing it after the email code as Tina illustrates.



Hope I have been of some help,
Micheal Smith

FrontPage Form Tutorials & Form Script Examples
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top