Problem with sending mails via feedback form

Author Message

Michal Slocinski

Tuesday 18 December 2007 4:13:19 am

Hi,

I've strange problem with sending mails via feedback form on ezPublish 4.0.

I belive all my settings are correct (tried with snmp and sendmail) but it simply doesn't work. I'm happy to debug some code but currently I can't get to the place where it can be failing (there are no logs in log file which could help me).

I know all goes at the end to eZMailTransport class but as far as I see problem occurs somewhere before since it doesn't look like it's called.

Could someone give me some hints on how to best debug such problem?

Michal

Bartek Modzelewski

Tuesday 18 December 2007 7:40:31 am

Hi MichaƂ,

Do all the form data are stored in database (as collected informations) ? If not there is something wrong with your form.

Try to put Transport=file in MailSettings section of site.ini. Then all emails will be stored in var/log/mail folder, so you will be able to check if format of email is ok. Sometimes mail servers reject emails because of wrong format like lack of sender email.

Bartek

Baobaz
http://www.baobaz.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 03:37:35
Script start
Timing: Jan 19 2025 03:37:35
Module start 'layout'
Timing: Jan 19 2025 03:37:35
Module start 'content'
Timing: Jan 19 2025 03:37:36
Module end 'content'
Timing: Jan 19 2025 03:37:36
Script end

Main resources:

Total runtime1.1482 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 589.2891152.6406
Module start 'layout' 0.00620.0039 741.929739.4766
Module start 'content' 0.01001.1367 781.4063484.6953
Module end 'content' 1.14680.0014 1,266.10168.1250
Script end 1.1482  1,274.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3088160.0002
Check MTime0.00150.1344160.0001
Mysql Total
Database connection0.00090.076210.0009
Mysqli_queries1.103596.1087540.0204
Looping result0.00050.0474520.0000
Template Total1.112496.920.5562
Template load0.00220.191520.0011
Template processing1.110296.688620.5551
Template load and register function0.00040.032710.0004
states
state_id_array0.00160.141610.0016
state_identifier_array0.00150.127420.0007
Override
Cache load0.00180.1530140.0001
Sytem overhead
Fetch class attribute can translate value0.00100.089420.0005
Fetch class attribute name0.00100.091420.0005
XML
Image XML parsing0.00040.031320.0002
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00100.0851100.0001
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0002 secs