HTML format email

Author Message

Ophir Radnitz

Sunday 05 December 2004 5:00:36 pm

How do I send emails with HTML format using eZ publish? I'd like to be able use templates (such as the user/registrationfeedback.tpl override) to define the layout and possibly use a CSS file for the design. I'm using v3.5rc1.

Any suggestions?

Thanks,
Ophir

Ɓukasz Serwatka

Sunday 05 December 2004 11:35:41 pm

Hi,

Look into site.ini file. There you can find all settings for e-mails.

In site.ini.append.php

[MailSettings]
ContentType=text/html

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Main resources:

Total runtime0.8728 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.0069 587.8125152.6094
Module start 'layout' 0.00690.0053 740.421939.4141
Module start 'content' 0.01220.8586 779.8359532.3828
Module end 'content' 0.87080.0020 1,312.21888.1875
Script end 0.8728  1,320.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3976160.0002
Check MTime0.00150.1748160.0001
Mysql Total
Database connection0.00170.190310.0017
Mysqli_queries0.821194.0708540.0152
Looping result0.00060.0688520.0000
Template Total0.828194.920.4140
Template load0.00210.245720.0011
Template processing0.825994.629120.4130
Template load and register function0.00010.013210.0001
states
state_id_array0.00360.409410.0036
state_identifier_array0.00160.180620.0008
Override
Cache load0.00180.2053150.0001
Sytem overhead
Fetch class attribute can translate value0.00080.090020.0004
Fetch class attribute name0.00140.156140.0003
XML
Image XML parsing0.00160.183120.0008
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00110.1232240.0000
String conversion0.00000.001440.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs