email user group

Author Message

Steve P

Friday 01 July 2005 4:25:44 am

Hello

Can anyone suggest a way to send an email notification to all members of a user group please? I can only seem to find refs to sending mail on an event ie: new post etc. My needs are much simpler[!] just a manually entered message...

Many thanks

Steve

Steve P

Monday 04 July 2005 5:33:00 am

Can anyone help please?

Thanks...

ludo thomas

Monday 04 July 2005 6:36:06 am

Hi steve.
I try to make a newsletter systeme and I think we have the same difficulties.
-I 've create a user group (newsletter receivers).
-I have a newsletter class (where is the content I want to send)
-I create a workflow that send the content to all group when the trigger is: edit the class newsletter.

and that works fine.

perhaps you could help me:I have a question about mail:http://ez.no/community/forum/developer/how_to_send_an_object_into_email

Steve P

Monday 04 July 2005 9:17:38 am

Thanks Ludo - will look into this also see if I can assist with your problem...

Best wishes

Pål J Didriksen

Tuesday 05 July 2005 11:31:56 am

Hi!

I've been working on a method that could be useful for you, Steve. I've made an extension that handles custom forms. This gives the possibility to make buttons that triggers any action you are able to make in php.

If you are interested, I can upload the code when I get home from my small vacation later this week.

A second solution could be to make a new content class "newsletter". You type in the text and publish your newsletter as an object on your site, and then sets the mailinglist-trigger to be triggered when new objects of class "newsletter" are published. The mailinglist-function would then use your new newsletter-object as its content.

Hope I didn't misinterperate your question, and written something totally irrelevant here ;)

Steve P

Wednesday 06 July 2005 1:26:32 am

Thank you! Creating a new class is a way I didn't think of. I'd certainly be interested to see your extension when you have a moment.

Best

Steve

Pål J Didriksen

Friday 08 July 2005 2:44:40 pm

Good evening!

I have put out the code for the form processing extension here:
http://ez.no/community/forum/developer/custom_form_action

Anyway, creating a new class might be a better solution for your project, I think.

PJ

Marco Zinn

Saturday 09 July 2005 3:25:31 am

Note, that there is a newsletter extension available at "Contributions". I think, this may be some code, that ezSystems created for us earlier (didn't download it).

Marco
http://www.hyperroad-design.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 00:11:03
Script start
Timing: Jan 19 2025 00:11:03
Module start 'layout'
Timing: Jan 19 2025 00:11:03
Module start 'content'
Timing: Jan 19 2025 00:11:05
Module end 'content'
Timing: Jan 19 2025 00:11:05
Script end

Main resources:

Total runtime1.7671 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.2422152.6094
Module start 'layout' 0.00700.0037 741.851639.4141
Module start 'content' 0.01071.7550 781.2656668.7656
Module end 'content' 1.76570.0014 1,450.031316.1875
Script end 1.7671  1,466.2188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.1962160.0002
Check MTime0.00130.0744160.0001
Mysql Total
Database connection0.00110.060910.0011
Mysqli_queries1.687695.5013760.0222
Looping result0.00080.0472740.0000
Template Total1.725097.620.8625
Template load0.00230.129420.0011
Template processing1.722697.481920.8613
Template load and register function0.00030.014510.0003
states
state_id_array0.00090.053010.0009
state_identifier_array0.00290.163220.0014
Override
Cache load0.00200.1129430.0000
Sytem overhead
Fetch class attribute can translate value0.00070.039740.0002
Fetch class attribute name0.00200.1141110.0002
XML
Image XML parsing0.00380.217540.0010
class_abstraction
Instantiating content class attribute0.00000.0015120.0000
General
dbfile0.00400.2274280.0001
String conversion0.00000.000640.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs