Forums / Developer / Problem send mail with feed back

Problem send mail with feed back

Author Message

Didier Kalulambi

Wednesday 27 October 2010 8:29:14 am

I'm starting in ez.
I have a problem to send my mail address: kkk@kkd.cd
here is my form which collects the data:
{* DO NOT EDIT THIS FILE! Use template override INSTEAD year. *}
{Def $ PageData ezpagedata = ()
$ = $ Pagedesign pagedata.template_look
}
<div class="summary">
{Attribute_view_gui
attribute = $ node.data_map.description}
{Include
name = Validation uri = 'design: content / collectedinfo_validation.tpl'
class = 'message-warning'
validation = $ validation = $ collection_attributes collection_attributes}
</ Div>

<div class="user-register">
<Form method = "post" action = {"content / action" | ezurl}
name = "form1">
<div class="attribute-header">
<h1 class="long"> BUY NOW <br/>
Currentdate {() | datetime ('custom', '% F% dth% Y')} </ h1>
</ Div>
{Def $ current_user = fetch ('user', 'current_user')
$ Nod_id ezhttp = ('usn', 'get')
$ Nod = fetch ('content', 'node', hash (node_id,
$ Nod_id))
}
{If not ($ current_user.is_logged_in)}
<div class="user_label">
<span> It Would Be Interesting to register, in
order not to enter your information Every Time </ span>
</ Div>
<br/>
{/ If}
<Div class = "warning" id = "input_val"
style = "display: none">
<h3> {"Input Did Not
validate "| i18n ('design / ezwebin / user / register ")}</ h3>
<ul>
<Li id = "input_val_1"
style = "display: none"> First name: Input required. </ Li>
<Li id = "input_val_2"
style = "display: none"> Last name: Input required. </ li>
<Li id = "input_val_3"
style = "display: none"> Email address: Input required. </ li>
<Li id = "input_val_4"
style = "display: none"> Message: Input required. </ li>

</ Ul>
<br/>
</ Div>
<div class="user_requi">
<span> * </ span> Required
</ Div>
<br/>
<div id="contact_buynow">
<div class="contact_buynow_1">
<div class="user-register_ligne">
<div class="user_label"> First
<span> name * </ span> </ div>
<Input class = "user_champ_input"
type = "text" size = "10" name = "f_name" id = "id1" value = "{if
$ Current_user.is_logged_in}
{$ Current_user.contentobject.data_map.first_name.content} {/ if}
tabindex = "1" />
</ Div>
<div class="user-register_ligne">
Last <div class="user_label">
<span> name * </ span> </ div>
<Input class = "user_champ_input"
type = "text" size = "10" name = "l_name" id = "id2" value = "{if
$ Current_user.is_logged_in}
{$ Current_user.contentobject.data_map.last_name.content} {/ if}
tabindex = "1" />
</ Div>
<div class="user-register_ligne">
<div class="user_label"> Email
<span> address * </ span> </ div>
<Input class = "user_champ_input"
type = "text" size = "10" name = "email" id = "id3" value = "{if
$ Current_user.is_logged_in}
{$ Current_user.contentobject.data_map.user_account.content.email} {/ if}
tabindex = "1" />
</ Div>
<Div class = "user-
register_ligne ">
<div class="user_label"> Choise
Product <span> * </ span> </ div>
{Def
$ Bsps_tts = fetch ('content', 'list', hash (parent_node_id, 100))}
<select name="choise_product">
{Foreach $ bsps_tts as $ bsps_tt <option value="aaa">}} {$ bsps_tt.name
</ Option> {/ foreach}
</ Select>
</ Div>
</ Div>
<div class="contact_buynow_2">
<div class="user_label"> Message
<span class="contact_mess"> * </ span> </ div>
<Textarea class = "box" cols = "62"
rows = "7" name = "message" id = "ID4"> $ {if} current_user.is_logged_in
{$ Message.object.data_map.message.content} {/ if} </ textarea>
</ Div>
</ Div>
<br/>
<div class="contact_buynow_3">
<Input type = "image"
class = "defaultButton" name = "ActionCollectInformation" alt = "ok" src =
{'Adeneo / ok.png' | ezimage} value = "{" Send
form "| i18n ('design / ezwebin / full / feedback_form")} "/>
<Input type = "hidden"
name = "ContentNodeID" value = "$ {node.node_id}" />
<Input type = "hidden"
name = "ContentObjectID" value = "$ {node.object.id}" />
<Input type = "hidden"
name = "ViewMode" value = "full" />

</ Div>
</ Form>
<br/>
</ Div>
form and my form located in content / collectedinfomail:
{* DO NOT EDIT THIS FILE! Use template override INSTEAD year. *}
{Set-block scope = root variable = subject} {"Information Collected from
% 1 "| i18n ('design / standard / content / edit", array ($ collection.object.name | wa
))}{/ sh set-block}
{* Use this line to Specify The Email In The template, can read this from
The Object to
make it dynamic form pr
{Set-block scope = root
variable = email_receiver kalulambi_didi@yahoo.fr} {/ set-block}
{Append-block scope = root
variable = email_cc_receivers dkalulambi@tikdem.com} {/ append-block}
*}
{* Set this to redirect to Another Node
{Set-block scope = root variable = redirect_to_node_id} 2 {/ set-block}
*}
{"WAS THE FOLLOWING Information
Collected "| i18n ('design / standard / content / edit")}
{Section name = loop = $ Attribute} collection.attributes
{$ Attribute: item.contentclass_attribute_name | wash}
{View = info attribute attribute_result_gui = $ Attribute: item}
{/ Section}
I do not get the message.

Heath

Wednesday 27 October 2010 9:17:28 am

Hello Didier,

Please re-add your code within a code custom tag so your code is actually readable by others.

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

eZ debug

Timing: Jan 30 2025 07:06:43
Script start
Timing: Jan 30 2025 07:06:43
Module start 'content'
Timing: Jan 30 2025 07:06:43
Module end 'content'
Timing: Jan 30 2025 07:06:44
Script end

Main resources:

Total runtime0.3881 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0093 587.9375370.2969
Module start 'content' 0.00930.0171 958.23441,005.5469
Module end 'content' 0.02640.3616 1,963.78133,908.9453
Script end 0.3880  5,872.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00491.2677200.0002
Check MTime0.00140.3589200.0001
Mysql Total
Database connection0.00040.115410.0004
Mysqli_queries0.280572.27881410.0020
Looping result0.00230.59191390.0000
Template Total0.361193.110.3611
Template load0.00100.261810.0010
Template processing0.360192.793710.3601
Override
Cache load0.00070.189410.0007
Sytem overhead
Fetch class attribute can translate value0.00180.474910.0018
XML
Image XML parsing0.00030.069110.0003
General
dbfile0.00992.5452200.0005
String conversion0.00000.001630.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs