How to create a mail form need help

How to create a mail form need help

Thursday 12 October 2006 10:11:29 pm - 3 replies

Author Message

Marius Eliassen

Friday 13 October 2006 6:19:25 am

Create a new class

Specify a name for the collection form, call it name, should be a textfield, this should NOT be an information collector.

First field should be textfield, call it form_name, also check the checkbox "Information collector".
Second field should be textfield, call it form_address, also check "information collector".
Same for third field, only this could be a form_email field, also check "information collector".

Create a new object of this class, this will allow users to fill out the form.
Note that when you create this object, leave the "collection information" fields empty.

In your ini settings, under site.ini, you can change the email you want to use with collectionforms:

[InformationCollectionSettings]
EmailReceiver=root@gmail.com

Good luck

Abdul Rehman

Friday 13 October 2006 1:56:34 pm

Hi Eliassen,
I want to attach a file with this e-mail. How I can handle with this approach, since file attribute is not an information collector. Plz, help me regarding this. It will be great for me. So for I am struck.

Thanks in advance.
Waiting

Marius Eliassen

Saturday 14 October 2006 6:43:00 am

Abdul i think you have to create your own module and use eZ publish mail classes to send your email.

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.