Current location: Hot Scripts Forums » Programming Languages » PHP » Checkboxes on form = mailto recipient.

Checkboxes on form = mailto recipient.

Reply
  #1 (permalink)  
Old 07-22-03, 04:55 PM
Bojon Bojon is offline
New Member
 
Join Date: Jul 2003
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Question Checkboxes on form = mailto recipient.

Checkboxes on form = mailto recipient.

I’m looking for a PHP FormMail script.

I am using Mat’s CGI FormMail now, but I’ve been told that it won’t be able to do what I need.

I need a FormMail script that will submit the form to multiple addresses that have been selected by the person filling out the form.

People will use this form to request an auto response email with more information about specific products.

If they check the boxes indicating they are interested in more information about Items “A” and “C” but not “B” they would receive two auto response emails. One specifically about product “A” and one about product “C”

Please take it easy on me; I’m brand new to PHP. I’m a good designer but not much of a programmer. I use Dreamweaver MX.


Thank you for your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 07-23-03, 02:10 AM
ChristGuy ChristGuy is offline
Operations Support Develo
 
Join Date: Jun 2003
Location: Rivonia, South Africa
Posts: 111
Thanks: 0
Thanked 0 Times in 0 Posts
Greetingz...

Basically you'd do the following...
PHP Code:
if ($_POST["CheckBox"] == "A")
 
// Send email
if ($_POST["CheckBox"] == "B")
  
// Send email
if ($_POST["CheckBox"] == "C")
  
// Send email 
"CheckBox" -> the name of the checkbox...
<INPUT NAME="CheckBox" VALUE="A">

Hope That Helps...
__________________
Till We Meet Again...
Clifford W. Hansen
Aspivia (Pty) Ltd

"We Have Seen Strange Things Today!" Luke 5:26
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 11-26-03, 10:25 PM
farmboymac farmboymac is offline
New Member
 
Join Date: Nov 2003
Location: des moines, ia
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
checkbox = mailto:

I have a similar problem to the first post.

Here's what I want to do:
Send a FormMail to multiple recipients based on which boxes are checked so that the user can choose who receives the form.

Example:
CheckBox A sends the form to "joe@abc.com"
CheckBox B sends the form to "jane@abc.com"
CheckBox B sends the form to "john@abc.com"

Thanks in advance for any response.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 11-27-03, 04:04 AM
Stefan's Avatar
Stefan Stefan is offline
Junior Code Guru
 
Join Date: Jun 2003
Location: Utrecht, The Netherlands
Posts: 599
Thanks: 0
Thanked 0 Times in 0 Posts
easiest in this is to create your own custom mailer script. this is one of the most basic things in php, so it shouldn't be too hard to do that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 12-21-04, 06:07 PM
mangled mangled is offline
Newbie Coder
 
Join Date: Aug 2003
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by farmboymac
I have a similar problem to the first post.

Here's what I want to do:
Send a FormMail to multiple recipients based on which boxes are checked so that the user can choose who receives the form.

Example:
CheckBox A sends the form to "joe@abc.com"
CheckBox B sends the form to "jane@abc.com"
CheckBox B sends the form to "john@abc.com"

Thanks in advance for any response.
Yes, this is exaclty what i am trying to do, too.

Any help would be appreciated.

-- mangled
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL database registration form help vinhkhuong PHP 3 10-10-03 03:49 AM
asp: URGENT! need to change code to create new form per id seala ASP 2 09-09-03 09:54 PM
asp: validating checkboxes in groups by groupid seala ASP 0 09-08-03 01:36 PM
asp: checkboxes & multi-page form seala ASP 0 09-02-03 01:58 PM
Dynamic form checkboxes (ASP) Claralu ASP 3 08-06-03 03:37 PM


All times are GMT -5. The time now is 07:14 AM.
vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.