A begginers question about information collection

Author Message

P K

Thursday 06 September 2007 5:30:04 am

Hi everyone,
I got a question about info-collection.

I've created a form which collected information and send in to an email. The thing is that when I've created a template the information is still being collected but now it doesn't send it to the email. The system was not originally built by me therefore I don't know where the original programmer wrote the email the collected information is being sent to. It is not in the site.ini properties. Is there any another way to set the recipient of the email? Is it being affected by the template that I've created?

Thanks a lot.
P K

Vidar Langseid

Friday 07 September 2007 5:12:09 am

A good start when having such problems is usually to check email server's log and see if if emails is send to invalid/wrong email addresses

By default receiver of information collection emails is set in site.ini:
[InformationCollectionSettings]
EmailReceiver=...

or
[MailSettings]
AdminEmail=...

Sender of email is set in site.ini:
[MailSettings]
EmailSender=...

However, it is also possible to override the receiver address in the email template by setting the email_receiver variable
see design/standard/templates/content/collectedinfomail/form.tpl or extension/ezwebin/design/ezwebin/templates/content/collectedinfomail/form.tpl for examples

so to answer your last question in short:
> Is it being affected by the template that I've created?
That could be. If the previous template did set the email_receiver variable, while your new one don't

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 18 2025 16:11:03
Script start
Timing: Jan 18 2025 16:11:03
Module start 'layout'
Timing: Jan 18 2025 16:11:03
Module start 'content'
Timing: Jan 18 2025 16:11:03
Module end 'content'
Timing: Jan 18 2025 16:11:03
Script end

Main resources:

Total runtime0.0158 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 594.7969152.6406
Module start 'layout' 0.00570.0028 747.437539.4766
Module start 'content' 0.00850.0051 786.914189.2266
Module end 'content' 0.01360.0023 876.140630.3047
Script end 0.0158  906.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002616.2256140.0002
Check MTime0.00127.5019140.0001
Mysql Total
Database connection0.00106.140310.0010
Mysqli_queries0.002616.666430.0009
Looping result0.00000.082810.0000
Template Total0.001710.810.0017
Template load0.00095.919110.0009
Template processing0.00084.853810.0008
Override
Cache load0.00074.146710.0007
General
dbfile0.00032.025280.0000
String conversion0.00000.051240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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