Go Back   Velocity Reviews > Newsgroups > HTML
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

HTML - Send FormMail to Sender's e-mail address - using variables?

 
Thread Tools Search this Thread
Old 06-14-2006, 05:48 PM   #1
Default Send FormMail to Sender's e-mail address - using variables?


I have a web form that uses FormMail to submit e-mails to me. It works
great but I have a text field titled 'e-mail' which is where the sender
types his/her e-mail address.

Is there a way to send the contents of the form to the sender's e-mail
address also? I know how to hard-code multiple recipients in the form
but since there is no way for me to know the e-mail address of each
user, can we use variables to store the value of the text field and
pass that to the FormMail script so that the script will not only send
the e-mail to me but also to the user?

Any help would be greatly appreciated.

Thanks,
Shal



Shaldaman
  Reply With Quote
Old 06-14-2006, 06:09 PM   #2
Beauregard T. Shagnasty
 
Posts: n/a
Default Re: Send FormMail to Sender's e-mail address - using variables?

Shaldaman wrote:

> I have a web form that uses FormMail


What/Whose version?

> Is there a way to send the contents of the form to the sender's e-mail
> address also?


Hopefully not, else spammers will use it to spew to everyone they can
think of ...

--
-bts
-Warning: I brake for lawn deer
  Reply With Quote
Old 06-14-2006, 06:15 PM   #3
Rik
 
Posts: n/a
Default Re: Send FormMail to Sender's e-mail address - using variables?

Beauregard T. Shagnasty wrote:
> Shaldaman wrote:
>
>> I have a web form that uses FormMail

>
> What/Whose version?
>
>> Is there a way to send the contents of the form to the sender's
>> e-mail address also?

>
> Hopefully not, else spammers will use it to spew to everyone they can
> think of ...


Terrible, terrible security problem in a lot of online forms.
Never, ever just send an email to an adress entered, unless you have a very
thourough CAPTCHAl, and even then.

Grtz,
--
Rik Wasmus


  Reply With Quote
Old 06-14-2006, 06:37 PM   #4
Shaldaman
 
Posts: n/a
Default Re: Send FormMail to Sender's e-mail address - using variables?

Matt's FormMail script.

I was thinking about the spam aspect too. But this form should remain
on a private network. Could i restrict it some way?

Beauregard T. Shagnasty wrote:
> Shaldaman wrote:
>
> > I have a web form that uses FormMail

>
> What/Whose version?
>
> > Is there a way to send the contents of the form to the sender's e-mail
> > address also?

>
> Hopefully not, else spammers will use it to spew to everyone they can
> think of ...
>
> --
> -bts
> -Warning: I brake for lawn deer


  Reply With Quote
Old 06-14-2006, 07:05 PM   #5
Toby Inkster
 
Posts: n/a
Default Re: Send FormMail to Sender's e-mail address - using variables?

Shaldaman wrote:

> Is there a way to send the contents of the form to the sender's e-mail
> address also?


Do you *want* your form to become an instant spamming tool?!

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

  Reply With Quote
Old 06-14-2006, 07:29 PM   #6
Toby Inkster
 
Posts: n/a
Default Re: Send FormMail to Sender's e-mail address - using variables?

Rik wrote:

> CAPTCHA


http://www.standards-schmandards.com.../01/11-captcha

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

  Reply With Quote
Old 06-14-2006, 07:41 PM   #7
Shaldaman
 
Posts: n/a
Default Re: Send FormMail to Sender's e-mail address - using variables?

Yes, I want my form to be an instant spamming tool...sheesh!!

The form was only going to be used within a private network. Nobody
outside the network would have access to the form.


Toby Inkster wrote:
> Shaldaman wrote:
>
> > Is there a way to send the contents of the form to the sender's e-mail
> > address also?

>
> Do you *want* your form to become an instant spamming tool?!
>
> --
> Toby A Inkster BSc (Hons) ARCS
> Contact Me ~ http://tobyinkster.co.uk/contact


  Reply With Quote
Old 06-14-2006, 09:48 PM   #8
Beauregard T. Shagnasty
 
Posts: n/a
Default Re: Send FormMail to Sender's e-mail address - using variables?

Shaldaman wrote:

> Matt's FormMail script.


As I suspected. Old stuff, full of bugs and exploitable holes.

http://www.html-faq.com/cgi/?secureformmail

> I was thinking about the spam aspect too. But this form should remain
> on a private network. Could i restrict it some way?


I don't use those scripts; I wrote my own.

--
-bts
-Warning: I brake for lawn deer
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump