Trying to send a e-mail

Author Message

Ricardo Valfreixo

Tuesday 20 March 2007 10:09:46 am

Hello all. First of all i'm sorry about the question. I'm a really noob with ezpublish and i'm working on a very tight schedule.

I need to send e-mail through an SMTP server and i can't find any howto or help. <can someone post me some howto or point me in the right way? thank you.

Ricardo

Ricardo Valfreixo

Wednesday 21 March 2007 6:19:56 pm

ok, solved.

i've managed to create a class to use in ezpublish with phpmailer code. If anyone needs it drop me a note

valfreixo(at)gmail(dot)com

Kristof Coomans

Wednesday 28 March 2007 11:09:21 am

Hi Ricardo

You also could have used the eZMail and eZSMTPTransport classes (in lib/ezutils/classes). A few links to resources and examples are on http://ezpedia.org/wiki/en/ez/e_mail

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 31 2025 01:14:50
Script start
Timing: Jan 31 2025 01:14:50
Module start 'layout'
Timing: Jan 31 2025 01:14:50
Module start 'content'
Timing: Jan 31 2025 01:14:50
Module end 'content'
Timing: Jan 31 2025 01:14:50
Script end

Main resources:

Total runtime0.0265 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.1250151.2109
Module start 'layout' 0.00560.0040 739.3359220.6875
Module start 'content' 0.00960.0154 960.0234997.6797
Module end 'content' 0.02500.0015 1,957.703129.9922
Script end 0.0265  1,987.6953 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002911.0609140.0002
Check MTime0.00124.3674140.0001
Mysql Total
Database connection0.00103.620210.0010
Mysqli_queries0.00248.883030.0008
Looping result0.00000.041310.0000
Template Total0.00114.110.0011
Template load0.00093.269110.0009
Template processing0.00020.843310.0002
Override
Cache load0.00062.376410.0006
General
dbfile0.003011.484880.0004
String conversion0.00000.040440.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