Attaching and sending Image into an Email

Author Message

John Smith

Wednesday 12 March 2008 3:23:46 am

Hi there,

Hope someone can help me. My requirement is to make a form on the public website where user can attach images or any other objects like pdfs or doc files.

All the content including the attachement can be sent into an email.

Is this can be achieved by creating a customised class in version 4.0.0

Thanks in advance.

Michael Hall

Wednesday 12 March 2008 5:24:09 am

Welcome on board. I'm new here myself, can't say much except that what you want to do is probably possible, but finding out how will take some work and experimentation. I'm trying to join the dots between bits and pieces of information related to forms and form handling in custom classes myself at the moment.

Anyway, on a more constructive note, the email class in eZComponents might be worth investigating.

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 15:08:44
Script start
Timing: Jan 19 2025 15:08:44
Module start 'layout'
Timing: Jan 19 2025 15:08:44
Module start 'content'
Timing: Jan 19 2025 15:08:44
Module end 'content'
Timing: Jan 19 2025 15:08:44
Script end

Main resources:

Total runtime0.0153 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.0050 589.2891152.6406
Module start 'layout' 0.00500.0027 741.929739.4766
Module start 'content' 0.00770.0059 781.406389.1641
Module end 'content' 0.01350.0017 870.570330.3047
Script end 0.0153  900.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002315.1580140.0002
Check MTime0.00106.7814140.0001
Mysql Total
Database connection0.00063.865510.0006
Mysqli_queries0.001912.223430.0006
Looping result0.00000.123210.0000
Template Total0.00148.910.0014
Template load0.00085.141010.0008
Template processing0.00063.773510.0006
Override
Cache load0.00053.263610.0005
General
dbfile0.001610.489580.0002
String conversion0.00000.071740.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