Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Forms

Notices

Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

Reply
 
LinkBack Thread Tools
  #1  
Old 04-11-2008, 04:34 PM
Corporal
 
Join Date: Feb 2008
Posts: 12
Default Sending forum to multiple emails

Hi i have an aplacation page on my site www.thewarriorselite.com/apply.html I need to send this to multiple emails and was wondering if that was possoble please let me no thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 04-11-2008, 04:43 PM
Watdaflip's Avatar
Brigadier General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 1,640
Default Re: Sending forum to multiple emails

Just use the normal script available in the tutorial, and add more mail() functions

ex.

PHP Code:
$mailto "youremail@yourdomain.com";
 
$email $HTTP_POST_VARS['email'];
 if (
$email == "") {
 
$email $mailto;
 }
 
$mailsubj "Type your mail subject here";
 
$mailhead "From: $email\n";
 
reset ($HTTP_POST_VARS);
 
$mailbody "Values submitted from web site form :\n";
 while (list (
$key$val) = each ($HTTP_POST_VARS))
 {
 if (
$key!="submit")
 {
 
$mailbody .= "$key : $val\n";
 }
 }
 
mail($mailto$mailsubj$mailbody$mailhead);
 
mail('someone@yoursite.com'$mailsubj$mailbody$mailhead);
 
mail('someone******.com'$mailsubj$mailbody$mailhead);
 
mail('someone******.com'$mailsubj$mailbody$mailhead);
 
?> 
For each additional email you want to send add another

PHP Code:
 mail('email@site.com'$mailsubj$mailbody$mailhead); 
Hope that helps
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 04-11-2008, 05:42 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,031
Default Re: Sending forum to multiple emails

Or simply change only the first line:

$mailto = "email_1@yourdomain.com, email_2@second_domain.com, email_3@third_domain.com";

Please note that this way recievers will see all other addresses where the mail is sent. Use Watdaflip's code if you don't want the recievers to be able to see the other email addresses.
__________________
Navaldesign
Logger Lite: Low Cost, Customizable, multifeatured Login script
Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


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

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 07:29 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2007 VodaHost.com - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54