Forum Topic: Coding for instant e-mail in blog

(165 views • 3 replies)

This topic is 1 page long.

<< < > >>
None

TrantaLocked

Reply To Post Reply & Quote

Posted at: 11/4/09 09:49 PM

TrantaLocked EVIL LEVEL 16

Sign-Up: 05/06/06

Posts: 2,750

I am trying to insert an HTML form into a blog post (blogspot.com) that allows the viewer to:

1. write their name
2. write their e-mail address

And send the message with nothing else. No e-mail client; nothing.

I tried using such an instant e-mail form and the HTML was accepted in blogspot, but when I attempted to use the form to send a message it was denied. It stated "HTTP 405 Method Not Allowed." Is there another way to receive a message from an anonymous viewer or to bypass the 405 error? This is the form I tried using: http://www.javascriptsearch.com/scripts/
Forms/multi_emailer.html

Help please?

Why the hate? Where is the love?

BBS Signature

None

TrantaLocked

Reply To Post Reply & Quote

Posted at: 11/4/09 09:54 PM

TrantaLocked EVIL LEVEL 16

Sign-Up: 05/06/06

Posts: 2,750

For some reason a script that begins with HTML isn't even accepted by blogspot but the one in the link I sent you (the code at the BOTTOM of that page works, which is supposed to be an HTML form. The javascript thing I don't know what that is for) does work.

Why the hate? Where is the love?

BBS Signature

None

CronoMan

Reply To Post Reply & Quote

Posted at: 11/5/09 06:28 AM

CronoMan EVIL LEVEL 06

Sign-Up: 07/19/04

Posts: 2,988

That script uses an email client (mailto:)
You need to do this with serverside scripting and an smtp-server

"no sound in ass"


None

urbn

Reply To Post Reply & Quote

Posted at: 11/5/09 07:21 AM

urbn FAB LEVEL 18

Sign-Up: 06/10/07

Posts: 2,302

At 11/5/09 06:28 AM, CronoMan wrote: That script uses an email client (mailto:)
You need to do this with serverside scripting and an smtp-server

This.

If you fill out the form and hit send, it just opens up an email in your client with the details already entered.

So that script doesn't do what you want it to do.

BBS Signature

All times are Eastern Standard Time (GMT -5) | Current Time: 02:34 AM

<< Back

This topic is 1 page long.

<< < > >>
You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!