Click to See Complete Forum and Search --> : Guestbook


kevmoon
08-21-2005, 07:30 PM
This is probably a very basic, and quite stupid problem...

I'm using ASP to create a guestbook where people simply write their name, email address and a comment. Once they submit, they are taken to a thank you page where their user name appears.

This is working fine except that the emails have never arrived to the destination email, can anyone suggest a reason why?

I realise I'm not providing much in the way of information so if anyone would like me to supply the specifics, just ask...!

buntine
08-21-2005, 07:51 PM
Not sure why your trying to send email. Traditionally, the entries in a guestbook would be listed on the Webpage itself.

Which email component are you using? CDONTS, AspEmail, etc.

Regards.

kevmoon
08-21-2005, 08:02 PM
Not sure why your trying to send email. Traditionally, the entries in a guestbook would be listed on the Webpage itself.


That's exactly what I was looking for originally but when I looked how to do this on HTML Goodies, they suggested using email?? How do i do it the other way?

buntine
08-21-2005, 08:07 PM
There are a few ways. The Guestbook I wrote for my site (www.andrewbuntine.com/contact/guestbook/) uses an XML file to store and retrieve entries.

You could also use a flat text file (similar to XML, but with a different API), or you could use a database.

Regards.

kevmoon
08-21-2005, 08:09 PM
A database would be ideal! Is there a site you know that could show me how to write this??

buntine
08-21-2005, 09:16 PM
Probably. Let me look.

...
...

Here are some links:

- http://www.planet-source-code.com/vb/tutorial/asp/default.asp?txtTutorialName=DatabaseBasics2.asp&lngWId=4
- http://www.vivald.com/vportal/boxx/knowledgebase.asp?iid=14&Cat=4 (this one seems to over-complicate things a bit.)

If you run into trouble, come back and we can guide you through the specifics. ;) Furthermore, if none of thess tutorials help you, I can zip up my guestbook and hand it to you.

Regards.

dougiejdm
09-15-2005, 05:15 PM
hi,

i'm also trying to put up a guestbook. i used the link you suggested but the links on that page aren't working. the second link is ridiculously complicated. can you send me your zipped up guestbook so i can take a look?

thank you very much.

doug

buntine
09-15-2005, 07:01 PM
Here ya' go. Note, this is a very basic guestbook. See it here: www.andrewbuntine.com/contact/guestbook/

Regards.