Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 21

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 23.04.2005, 11:47   #1 (permalink)
Baby Mamber
 
Join Date: Feb 2005
Location: Southampton UK
Posts: 16
Normanmartin is on a distinguished road
Default email from facile forms

Have tried on facile forms forum without success. Can anyone help here? i suspect my problem may be a more related to way I've put info into Mambo rather than specific to Facile Forms.

I have created a simple volunteer registration form and want to send a "thankyou" email to the registrant.

I know no php at all so its v. confusing but have put what I think are correct variables but no confirmation email is sent to the form filler I have copied a php file and changed the variables to what I thought was correct and I have put following into pieces Begin submit.custom That should send the email when they submit the form

My form is named Volunteer Registration/volunteer and the volunteers email field is email Address/email.
I would like the the email subject to be the same as the form title field Form Title/form_title_txt


// This php piece sends an email
global $mosConfig_mailfrom, $mosConfig_fromname;
// init vars
$from = $mosConfig_mailfrom;
$fromname = $mosConfig_fromname.' - volunteer';
$recipient = '';
$subject = '';
$body = '';

// extract form data
foreach ($this->submitdata as $data)
switch ($data[1]) {
case 'email':
$emailt = $data[4];
break;
case 'subject':
$form_title_txt = $data[4];
break;

case 'message':
$body = "Greetings! Thank you for your inquiry! Due to the large number of inquiries we receive, it may
take more than 24 hours for a response. Please call one of the following clubs in your local area to
address your questions immmediately. Look forward to hearing from you!
Best regards,
etc...";

break;
default:
break;
} // switch
// uncomment this to debug the piece
// echo "$from $fromname $recipient $subject $body";
// exit;
// send the mail

mosMail($from, $fromname, $recipient, $subject, $body);

This must be wrong as it doesn't work - could one of you helpful people tell me why and what to do
Normanmartin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 26.08.2005, 00:23   #2 (permalink)
Baby Mamber
 
Join Date: Feb 2005
Posts: 2
zeddo6 is on a distinguished road
Default Re: email from facile forms

Hello Gin,

Facile Forms IS about mambo!
zeddo6 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 26.08.2005, 19:35   #3 (permalink)
Baby Mamber
 
Join Date: Aug 2004
Posts: 13
kochp is on a distinguished road
Default Re: email from facile forms

You need to find the correct settings in mambo global configuration first before the facile forms mailing can work. Make mail working with with the standard mambo functions first (standard contact form for example), then it will also work in facile forms.
kochp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30.03.2006, 14:21   #4 (permalink)
Baby Mamber
 
Join Date: Mar 2006
Posts: 4
nitin44u is on a distinguished road
Default Re: email from facile forms

can u help me how can i use text box values in facile form.
how can i store the text box value in a new variable in Facile form script & Pieces.
nitin44u is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Facile Forms and getting link to form? loom001 Mambo 4.5.1 General Talk 2 30.03.2006 14:20
Assessment tool and tutorial for Facile Forms TJay Development Announcements 1 16.03.2005 01:41
Facile Forms e problema con radio button lucamax Componenti 4 15.03.2005 19:02
Facile Forms 1.3.0 funktioniert nicht Neo_80 Komponenten 1 15.02.2005 16:40
Facile Forms Development Request mkoenigs Component 'How Do I' Questions 1 29.11.2004 16:58


All times are GMT +2. The time now is 23:16.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.