Form settings, How to send 'Thank you' mail with attachment ?

Author Message

J-A Eberhard

Sunday 03 April 2005 3:19:51 am

Hi,
I created a new Class for contact form that should allow an anonymous user to fill some info and his email address.
Once it's done, the admin get an email and the anonymous user receive a mail (at his email address) that include a special message and an attachment (PDF).
The problem is that with default behavior, the admin get the email but the anonymous user get nothing. So the questions are:
- How to setup (the template? the workflow?) to trigger a 'Thank you' email?
- How to attach a file (or more than one file) to this email (With the Object relation list?).
Thanks in advance for your help.
Jacques-André

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

Łukasz Serwatka

Sunday 03 April 2005 11:51:44 pm

Hi,

You will have to create your own module which simply send out the email with attachment. Create form, and after submit pass variables to custom module and send it via e-mail.

Here you find document about how to create custom module
http://ez.no/ez_publish/documentation/development/extensions/module/hello_world

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.