Академический Документы
Профессиональный Документы
Культура Документы
Table of Contents
powermail...................................................................................................................................1
Powermail Introduction........................................................................................................................................................3
What does it do?...............................................................................................................................................................3
Tested with TYPO3 version...............................................................................................................................................3
Powermail suggested........................................................................................................................................................3
Known conflicts with..........................................................................................................................................................3
Screenshots...........................................................................................................................................................................4
Frontend............................................................................................................................................................................4
Frontend: Testform einpraegsam.net................................................................................................................................6
Frontend: Mailform wunschtacho.de.................................................................................................................................7
Frontend: Just another screenshot (form with tt_content inside)......................................................................................8
Frontend: Contact form used by conject...........................................................................................................................9
Frontend: Using multiple pages via JS............................................................................................................................10
Searching for new screenshots.......................................................................................................................................10
Backend Module..............................................................................................................................................................11
How to use quickly..............................................................................................................................................................13
Standard: Use IRRE........................................................................................................................................................13
Without IRRE (TYPO3 < 4.1 or IRRE deactivated).........................................................................................................13
Small video tutorial..........................................................................................................................................................13
Plugin Configuration...........................................................................................................................................................14
Add a new content item...................................................................................................................................................14
General: Enter a header..................................................................................................................................................14
Formdata: Main settings..................................................................................................................................................15
Fields: Create new Fieldsets (pages)..............................................................................................................................16
Fields: Add fields (IRRE).................................................................................................................................................17
Fields: Add fields (without IRRE).....................................................................................................................................19
Fields: Overview..............................................................................................................................................................20
Fields: Explanation..........................................................................................................................................................21
Sender: Sender email and subject..................................................................................................................................34
Recipients: Receiver email and subject..........................................................................................................................35
Answerpage: Thx message.............................................................................................................................................36
Access: Form access .....................................................................................................................................................36
powermail settings in the Extension Manager.................................................................................................................37
Constants for powermail....................................................................................................................................................38
powermail - 1
Setup for powermail............................................................................................................................................................41
HTML template and markers example use.......................................................................................................................43
Example for email for recipients......................................................................................................................................43
Changing (or adding new) flexible locallang markers in any html template or RTE field:...............................................43
Adding new flexible typoscript markers in any html template or RTE field:.....................................................................43
Backend module..................................................................................................................................................................45
Introduction......................................................................................................................................................................45
Define your export file as you want via tsconfig..............................................................................................................46
Features...............................................................................................................................................................................48
Validation of field values..................................................................................................................................................48
Saving db values to any db table.....................................................................................................................................50
Prefilling fields.................................................................................................................................................................51
Fighting spam..................................................................................................................................................................51
Integrate captcha to your form........................................................................................................................................51
Add new field: Selectorbox with values from database...................................................................................................52
FAQ.......................................................................................................................................................................................53
I need help/support with this plugin!................................................................................................................................53
How can I prefill some fields?..........................................................................................................................................53
Error in backend “Unknown type: inline” - what to do?....................................................................................................53
How can I overwrite the locallang translations / How can I add a new locallang marker................................................53
How can I use validation of fields per Javascript?..........................................................................................................53
JavaScript check don't work - why?.................................................................................................................................53
How can a style my form?...............................................................................................................................................54
HTML Validation vailed....................................................................................................................................................54
How can I choose my own html code instead of the automatic html generation............................................................54
POWERMAIL ERROR: No title to current field found in DB (uidXX) ..............................................................................54
I want a select box in frontend where the user can choose the receiver of the form......................................................54
I will check some fields (with php) if the value is an email or an URL.............................................................................55
I want to use captcha but no captcha field is shown.......................................................................................................55
Onetime filling solve all my problems..............................................................................................................................55
Countryselector dropdown without value (Empty field cn_short_en ...)..........................................................................55
There is a problem with content elements like text/image / dividers2tab problem..........................................................55
I cannot add fields (TYPO3 4.2)......................................................................................................................................55
CSS corner...........................................................................................................................................................................56
Add a default CSS...........................................................................................................................................................56
How to get labels and fields in two columns with css......................................................................................................57
How to get two columns..................................................................................................................................................58
Developers corner...............................................................................................................................................................59
Database relation model..................................................................................................................................................59
Hooks in powermail.........................................................................................................................................................60
Todos ...................................................................................................................................................................................63
Bugfixes...........................................................................................................................................................................63
Features...........................................................................................................................................................................63
Request...........................................................................................................................................................................63
Changelog ...........................................................................................................................................................................64
Additional links....................................................................................................................................................................72
powermail - 2
Powermail Introduction
What does it do?
Powermail is a powerful and – in addition – a very easy mailform extension with IRRE technics and a high flexibilty for the
user. You can very easily define your form fields in the backend and get an output without html knowledge. Emails with html
content or plaintext only.
Powermail offers many features like automatic database storing (and additional database storing to any db table) for every
page. Individual Excel and CSV export possible in own backend modul.
Different HTML templates and RTE fields in backend for sender (email), receiver (email), form, fields, thx- and error
message.
Powermail can send mails to more fe- or be-users or to only one email address, field values can be prefilled from logged in
fe_user and all datas will be stored in a session (so the user can come back later and finish form filling)
A javascript validation checks values of fields, simple define in backend what to check (check for mandatory, numbers only,
etc..)
You can validate (with php) every field value (auto or regulare expressions).
It's possible to select the mail receiver in frontend.
You can use captcha, sr_freecap or wt_spamshield against spam in your forms.
Powermail offers morestep forms (php or javascript if wanted) and works with date2cal and static_info_tables or offers
information from geoip and many more...
Powermail offers many features to extend powermail (hooks, ts objects and userfuncs, debugoutput, etc...)
And we tried to offer all this in a very easy way. Editors can create complex mailforms without html knowledge.
Powermail suggested
● static_info_tables (and _de, _fr, _da, etc...)
● date2cal (tested with 7.0.6)
● wt_spamshield
● wt_directory
● powermail_optin
● powermail_mul
● powermail_frontend
● powermail_cond
● geoip
powermail - 3
Screenshots
Frontend
Frontend: Show Form
powermail - 4
Frontend: Confirmation
powermail - 5
Frontend: Testform einpraegsam.net
Example: http://www.einpraegsam.net/fachgebiete/typo3-extensions/powermail.html
powermail - 6
Frontend: Mailform wunschtacho.de
Example: http://www.wunschtacho.de/support/kontakt.html
powermail - 7
Frontend: Just another screenshot (form with tt_content inside)
powermail - 8
Frontend: Contact form used by conject
Example: http://www.conject.com/kontakt/kontakt.html
powermail - 9
Frontend: Using multiple pages via JS
powermail - 10
Backend Module
powermail - 11
Backend: Define your Answerpage
powermail - 12
How to use quickly
Standard: Use IRRE
● Import from online repository
● Reload backend (you will see a new item in the menu “Powermail”)
● Enter a new page record on any normal page and choose the powermail plugin (see below for a detailed manual),
there you can define your fieldsets and fields
● That's all!
● NOTE: If you want to use IRRE, ensure that your server provides long POST variables (maybe it's useful to increase
POST memory size on the server)
powermail - 13
Plugin Configuration
Add a new content item
powermail - 14
Formdata: Main settings
● Formtitle: Enter a title for the whole form (only used intern)
● Save mails in page: You can choose a page where your mails should be saved (can also set via constants)
● Activate confirmation page: If checked there will be a confirmation page after form-submit
(like: are your values ok?)
● Multiple steps:
● Single step: The whole form is shown on one page (All fieldsets will be shown)
● Multiple steps (JS): Each fieldset (see below) is an own page. Switch between pages via Javascript
● Multiple steps (PHP): Each fieldset (see below) is an own page. Swich between pages via
HTML/PHP
powermail - 15
Fields: Create new Fieldsets (pages)
● Create new Fieldsets: You can create more pages (fieldsets), if you want to use the moresteps function. Every step
is a fieldset.. It's also usefull to show fields separated in different fieldsets on one page – so you can use more than
only one fieldset.
NOTE: You need to choose min. 1 fieldset for every form.
● Preview: This iframe previews the your frontend at once, so you can see your changes.
NOTE: You can deactivate this iframe in the extension manager (maybe faster working possible)
powermail - 16
Fields: Add fields (IRRE)
powermail - 17
● Field Hide: You can disable the current field
● Field Starttime: Enter a starttime for this field
● Field Stoptime: Enter a stoptime for this field
● Settings (Text field) Size: If you want to enter a size. Alternative you can set the width and height via CSS
● Settings (Text field) Max. Length: Set max. length for textfiels
● Settings (Text field) Read only: Field is set to read only
● Settings (Text field) Mandatory field: Field is obsolete
● Settings (Text field) Default value: Choose a value to prefill the textfield
● Settings (Text field) Validate this field for: You can activate a js validation (see below)
● Settings (Text field) Name for Templates: If you want to use this value in any template, use this code
● Settings (Text field) Field example: There is an example picture of the current field
● Fill out this field with fe_user field: Prefill field (if fe_user is logged in) with any data from fe_user / You can set the
allowed fe_user fields via Ext Manager
NOTE: Different fields have different setting possibilities (see below for details)
powermail - 18
Fields: Add fields (without IRRE)
If IRRE is disabled (TYPO3 < 4.1) or manually, you have to add the relation manually:
● Add a new content element (powermail) if not yet done
● Use “create new record” to add a fieldset manually (enter the relation to the powermail content on the same page)
● Use “create new record” to add a field manually (enter the relation to the powermail fieldset on the same page)
NOTE: Different fields have different setting possibilities (see below for details)
powermail - 19
Fields: Overview
Title: Explanation: Example Output: Category:
Textfield Simple text fields (one line) <input type=”text” /> STANDARD
Textarea Text fields with more lines <textarea>text</textarea> STANDARD
Select box Selector box (dropdown) <select><option>1</option></select> STANDARD
Checkbox Checkbox <input type=”checkbox” /> STANDARD
Radio Button Radio buttons <input type=”radio” /> STANDARD
Submit Button Submit button <input type=”submit” /> STANDARD
Captcha Request Captcha picture with input field to validate a human <img src=”captcha.php” /><input type=”text” /> EXTRA
entry (captcha or sr_freecap needed)
Reset Button Reset buttons <input type=”reset” /> EXTRA
Show some text Enter a text and show it in the frontend Text blabla EXTRA
TYPO3 page Show any TYPO3 page content <p class=”bodytext”>blabla</p> EXTRA
content
Enter your own Enter your html code <span style=”color: red”>bla</span> EXTRA
html code
Password field Password field <input type=”password” /> EXTRA
File upload Standard upload field for files <input type=”file” /> EXTRA
Hidden field Hidden value <input type=”hidden” /> EXTRA
Date and time field Text field with a javascript calendar <input type=”text” /><script ...>...</script> EXTRA
Date field Text field with a javascript calendar <input type=”text” /><script ...>...</script> EXTRA
Button Simple a button without a function (maybe usefull for a <input type=”button” /> EXTRA
javascript)
Graphic as submit Submit Image <input type=”image” /> EXTRA
Country selection Selector box with countries (static_info_tables needed) <select><option>Germany</option>...</select> EXTRA
Add typoscript Output any value from your typoscript Any value from typoscript EXTRA
object
Multiple upload Multiple upload fields are part of the extension <input type=”file” />... EXTENSIO
powermail_mul (enables upload of more files) NS
powermail - 20
Fields: Explanation
Fields: Add textfield
● Size: Set field size (size=””) (we suggest you to use CSS for field width)
● Max. Lengh: Set maximum length of signs in this field (maxlength=””)
● Read only: Check to be a read only field (readonly=”readonly”)
● Mandatory field: This field is a needed field – no db and no email without this field (check with JavaScript and PHP)
● Default value: Prefill field with a value (value=””)
● Validate this field for: This is a javascript validation
– check for email addresses (like test@test.com)
– check for URL (like http://www.test.de)
– check for digits only (like 3.6)
– check for digits without comma and point (like 3)
– check for letters only (a-z)
– check for letters and digits only (a-z and 0-9)
● Name for Templates: If you want to use this value in any template, use this code
● Field example: You will see a picture example of the chosen field
powermail - 21
Fields: Add textarea
powermail - 22
Fields: Add selectbox
● Enter your options: Every line is a new option for the selececterbox like red, green and blue /
- If you want different label and values, you can write: label | value /
- If you're going to use the same label and value, you can write: value
● Size: Set field size (size=””)
● Multiple seletc allowed: Allow more than one value to select (multiple=”multiple”)
● Mandatory field: This field is a needed field – no db and no email without this field
● Name for Templates: If you want to use this value in any template, use this code
powermail - 23
Fields: Add checkbox
● Enter your options: Every line is a new option for the selececterbox like red, green and blue /
- If you want different label and values, you can write: label | value /
- If you're going to use the same label and value, you can write: value
● Mandatory field: This field is a needed field – no db and no email without this field
● Name for Templates: If you want to use this value in any template, use this code
powermail - 24
Fields: Add radiobutton
● Enter your options: Every line is a new option for the selececterbox like red, green and blue /
- If you want different label and values, you can write: label | value /
- If you're going to use the same label and value, you can write: value
● Mandatory field: This field is a needed field – no db and no email without this field
● Name for Templates: If you want to use this value in any template, use this code
powermail - 25
Fields: Captcha request
● Field example: You will see a picture example of the chosen field
● NOTE: To enter the label (value) of the button, use the label of the field
powermail - 26
Fields: Add resetbutton
● Refresh page and clear whole session: Use this checkbox if a user clicks the button, the page will be refreshed
without session values
● Field example: You will see a picture example of the chosen field
● NOTE: To enter the label (value) of the button, use the label of the field
● Default value: Enter your Text here (you can define which html signs are allowed via ts constants)
● Send this content via email: If you want to send this content via email, check this
● Field example: You will see a picture example of the chosen field
● Name for Templates: If you want to use this value in any template, use this code
● NOTE: Send this content via email is not yet finished programed at this time!
powermail - 27
Fields: TYPO3 pagecontent
powermail - 28
Fields: Add a password field
● Size: Set field size (size=””) (we suggest you to use CSS for field width)
● Max. Lengh: Set maximum length of signs in this field (maxlength=””)
● Read only: Set field to a read only field (readonly=”readonly”)
● Mandatory field: This field is a needed field – no db and no email without this field
● Field example: You will see a picture example of the chosen field
● Name for Templates: If you want to use this value in any template, use this code
● NOTE: Password fields are described in selfhtml.org
● Size: Set field size (size=””) (we suggest you to use CSS for field width)
● Mandatory field: This field is a needed field – no db and no email without this field
● Name for Templates: If you want to use this value in any template, use this code
● Field example: You will see a picture example of the chosen field
● NOTE: You can set the upload folder via constants (see below) – only the filename will be written
powermail - 29
Fields: Date and Datetime field
● NOTE: This fields are only supported if you have installed the extension date2cal!
● Default value: Set a default value (you can use the date2cal icon for better writing in backend and frontend
● Size: Set field size (size=””) (we suggest you to use CSS for field width)
● Read only: Set field to a read only field (readonly=”readonly”)
● Mandatory field: This field is a needed field – no db and no email without this field
● Name for Templates: If you want to use this value in any template, use this code
● Field example: You will see a picture example of the chosen field
powermail - 30
Fields: Graphic submit field
● Grafic source: Enter a source for the graphic submit button (like fileadmin/test.jpg)
● Alternative Text for image: use the alt tag (alt=””)
● Field example: You will see a picture example of the chosen field
● NOTE: Imagebuttons are described in selfhtml.org
powermail - 31
Fields: Countryselect field
powermail - 32
Fields: Typoscript field
● Typoscript object: enter an typoscript element for your output (define this element via typoscript setup)
● Field example: Example for a typoscript setup
● NOTE: You can use every object from typoscript for this kind of fields
(maybe it's interesting to add a userfunc for some special fields, etc...)
powermail - 33
Sender: Sender email and subject
● Senders email address: Choose any of your fields to mark as sender email
(This is needed to send an email to the sender, This field will be checked if the value is really an email address, If
empty default sender E-Mail will be used – see constants)
● Senders name: Choose any of your fields to mark as sender name (If empty senders E-Mail will be shown as name)
● Subject for sender's mail: Choose any email subject /
NOTE: You can use markers in email subject to get a subject like “Thank you Alex for your mail”
● Email-Text for sender: You can use this RTE to write the mail content for the sender
● NOTE: This RTE is substituted with tmpl_emails.html / You can use all markers in the RTE and the HTML template!
powermail - 34
Recipients: Receiver email and subject
● Subject for recipient's mail: Choose an email subject for the receiver /
NOTE: You can use markers in email subject to get a subject like “New mail from Alex”
● Recipient: Enter some email receivers (separated with comma, semicolon or with a new line) /
- If you want to enter a sender name, just write: name \n email1 \n email2 \n email3 ... /
- You can also use markers in this field instead of an email: test@test.de, ###UID3###
● Table of recipients: Choose any database table, if you want to send to one or more (e.g. Backend or Frontend)
users
● Recipients from upper table: If you have chosen any db table, select some email addresses
● Alternative SQL-Query: You can enter an own SQL query to get your own email addresses /
- Example: SELECT email FROM fe_users WHERE pid = 12 /
- You can also use markers in the query like SELECT email FROM fe_users WHERE uid = ###UID5### /
- Not allowed strings: UPDATE, TRUNCATE, DELETE, INSERT, REPLACE, DO, HANDLER, LOAD, ALTER,
CREATE, DROP, RENAME, DESCRIBE, USE, BEGIN, COMMIT, ROLLBACK, LOCK, SET, REVOKE, GRANT
● Email-Text for receiver: You can use this RTE to write the mail content for the receiver
● NOTE: This RTE is substituted with tmpl_emails.html / You can use all markers in the RTE and the HTML template!
● NOTE2: Priority of recipient fields: Recipient, Table choose, SQL query
powermail - 35
Answerpage: Thx message
● Similar to text: Choose your access an general options (see TYPO3 documentation for more information)
powermail - 36
powermail settings in the Extension Manager
Property: Description: Default Data type:
useIRRE Inline Relational Record Editing (IRRE) to enter your fieldsets and fields just 1 boolean
by opening only one content. If you want to use the listview and manually
enter the relation between tt_content and fieldsets and fields you can disable
IRRE (IRRE is only activated if you're using TYPO3 > 4.1)
usePreview Preview window active: Activate frontend preview window under field 1 boolean
definitions (iframe with frontend view of current page). Deactivate for a faster
work with powermail.
TabDividers Activate tab dividers: Powermail uses tab dividers in backend so every 1 boolean
category seems to be a new site (like General, Formdata, Fields, Sender,
Recipients, Answerpage and Access). You can disable tabdividers if you want
to show all stuff on only one page or if there are problems with tab dividers
and other extensions.
feusersPrefill A dropdown is shown in the backend which enables to prefill any field with the name, address, text
value of a current logged in feuser. You can increase or decrease the fe_user telephone, fax, email, zip,
field values in the dropdown menu. Just use the wanted fieldnames of the city, country, www,
fe_user table in a comma-separated list. company
disableIPlog Deactivate IP logging: If you don't want to save the sender IP address in the 0 boolean
database, you can use this checkbox.
disablePMRealU Deactivate config for Realurl: Powermail uses an automatic realurlconf array 0 boolean
rlConfig for type=3131. You can disable this feature if you want to use your own
configuration or you don't need a realurl configuration. (see ext_localconf.php
for configuration details)
disableStartSt Deactivate Start- and Stoptime: If there are problems with adding fields, this 0 boolean
op could be caused by date2cal. You can disable start- and stoptime for fields
and fieldsets with this flag.
powermail - 37
Constants for powermail
You can change your constants with the constant editor
enable.unique Onetime filling: Checks if a field has already this entry boolean
(maybe email address), IP check is also possible if ip
addresses will be logged) - (e.G. uid11,ip checks for
unique IP and unique entry in field uid11)
email.noreply Standard sender address: This email address is noreply@###DOMAIN### text
important, if no sender field was chosen in the
backend, so this email address will be used for the
sender (###DOMAIN### will be replaced with current
domain like test.com)
email.checkMX Check MX record of sender mail: This is a small test, if 1 boolean
senders email address exists (MX record check of
domain)
email.overwritesender E-Mail sender address: If you add an email address in text
this field, this email address will be used for the user
mail as senderemail and returning email address.
Normally the main receiver address is used as sender
for the returning mail, but you can overwrite this if you
want (e.G. mail@mail.com) Note - if you don't use a
correct mail address, this field will be ignored!
hiddenfields.show Don't show hiddenfield values: Show or hide values of 1,0,0,0,1 text
hiddenfields on recipient mail, confirmation mail to
sender, thx message page, confirmation message
page, mandatory page (default 1,0,0,0,1)
markerALL.hideLabel Hide label if empty value: This option hides labels if its 0 boolean
value is empty in marker ###POWERMAIL_ALL###
powermail - 38
Property: Description: Default Data type:
markerALL.notIn Exclude fields from marker ALL: Exclude some fields text
from marker ###POWERMAIL_ALL### (e.g.:
###UID14###,###UID22### or UID14,UID22)
form.method Form method: use post or get as post format (details post text
see on selfhtml.org)
format.datetime Frontend datetime format if datetime field is in use %H:%M %d-%m-%Y text
(only needed if you use the extension date2cal)
format.date Frontend date format if date field is in use (only %d-%m-%Y text
needed if you use the extension date2cal)
label.allowTags Allowed tags in labels: Allow some tags for label fields <p><br><b><strong><a> text
html.removeXSS RemoveXSS for html fields: (de)activate security 1 boolean
function to disable Cross Site Scripting with the html
field (removeXSS on or off)
countryselect.charset Charset for countryselector: You can use the php options[,utf8_e
functions utf8_encode or utf8_decode to change the ncode,utf8_de
countryselector output code]
mandatory.symbol Add symbol for mandatory fields: If any field is a * text
mandatory field, add this at the end of the label
mandatory.wrap Wrap mandatory symbol: You can wrap the mandatory <span text
symbol with any html code class="powermail_mandatory">|</
span>
captcha.use Use captcha extension: If you have installed sr_freecap option
sr_freecap and captcha, you can select which
extension should be used
pagebrowser.wrap Wrap pagebrowser: If you use multiple pages (PHP), <p wrap
you can show the current page like 1 of 3 class="powermail_pagebrowser">|
</p>
upload.folder Folder for uploaded files: If you are using min. one uploads/tx_powermail/files/ text
upload field in frontend, you can change the folder
where the uploaded file is safed
upload.file_extensions Allow files for upload: If you are using min. one upload jpg,gif,png,tif,txt,doc,xls,sxw,html, text
field in frontend, you can set the allowed extension of swf
this files
upload.filesize Allow filesize for upload: If you are using min. one 1000 int
upload field in frontend, you can set the allowed
filesize of the files (in kB)
upload.attachment Upload and attach: If checked, all files will be sent as 1 boolean
an attachment to the receiver (if disabled, files will only
stored on server)
clear.session Clear Session: Check if session should be cleared 0 boolean
after submit (emails sent)
js.mandatorycheck Check for mandatory fields: (De)activate JavaScript 1 boolean
check for mandatory fields (and other fields like email,
url, etc..)
js.mandatorydivclass Mandatory JS DIV class: Enter your own css class for powermail_mandatory_js text
the mandatory javascript div layer (div layer which is
shown, if a field was not filled, etc...)
js.onfocus OnFocus JavaScript: (De)activate onfocus javascript in 1 boolean
fields - removes standard value of (e.g. text-) fields
onclick, so the user can click and begin to write
js.Prototype Load prototype.js: (De)activate loading prototype.js in 1 boolean
html head of page where powermail is in (prototype.js
is needed for JS validation of fields and for date2cal
fields like date, datetime and time)
js.HTMLentities HTMLentities for JS: (De)activate the php function 1 boolean
htmlentities for the dynamic javascript in the html
header. Example with htmlentities: index.php?id=1&
amp;type=3131 / Example without htmlentities:
index.php?id=1&type=3131
field.checkboxJS Hiddenfields for checkboxes: (De)activate the 1 boolean
hiddenfields for checkboxes. If only checkboxes are in
use, there is a problem to enable a checkbox, submit,
go back and deaktivate checkbox and submit again -
the value ist still set. To fix this, you can use a
JavaScript with hiddenfields (set by default).
powermail - 39
Property: Description: Default Data type:
rte.parse Use rteCSStext function: Text from rich text editor will 1 boolean
be parsed automaticly for emails and thx message
(every line gets an p tag, etc...). Disabling could be
useful if you want to use only plaintext mails.
powermail.charset Charset for powermail: You can use the php functions options[,utf8_e
utf8_encode or utf8_decode to change the whole ncode,utf8_de
powermail output code]
barrier-free.tabindex Manual sorting of tabindex: Powermail adds tabindex text
to the fields (automaticly via sorting). If you want to use
another order, you can change the order with this
settings (e.g. uid5,uid4,uid3_0,uid3_1 or
5,4,6,4_0,4_1,3)
barrier-free.accesskey Adding accesskeys: You can add some accesskeys to text
the fields if you want
(e.g. uid1:f,uid3:g or 1:a,2:b,3_1:c)
geoip.file Add geoip file: If you want to use geoip, you can enter text
the relative path to the .dat file for geo info (e.g.
fileadmin/geoinfo.dat)
geoip.addValuesToMarke Add geo info to marker ALL: The most people don't text
rALL want to use single markers, they just use
###POWERMAIL_ALL###, if you want to add some
geoinfo, you can add those to the all marker (e.g.
countryName, city) (available keys - ip, countryCode,
countryName, region, city, zip, lng, lat, dmaCode,
areaCode)
debug.output Activate debug output: Possibility to print a debug options[,all,ses
output over the html. All displays session and email sion,email,db]
array, Session prints only session array, Email prints
only email array (empty or all or session or email)
Note: Prefix for all powermail constants: plugin.powermail.
powermail - 40
Setup for powermail
Note: The most settings are possible with constants editor
# POWERMAIL PLUGIN #
plugin.tx_powermail_pi1 {
# get constants
template.fieldWrap = {$plugin.powermail.template.fieldWrap}
template.formWrap = {$plugin.powermail.template.formWrap}
template.thxMessage = {$plugin.powermail.template.thxMessage}
template.emails = {$plugin.powermail.template.emails}
template.confirmation = {$plugin.powermail.template.confirmation}
template.all = {$plugin.powermail.template.all}
template.mandatory = {$plugin.powermail.template.mandatory}
template.MultipleJS = {$plugin.powermail.template.MultipleJS}
allow.email2receiver = {$plugin.powermail.allow.email2receiver}
allow.email2sender = {$plugin.powermail.allow.email2sender}
allow.dblog = {$plugin.powermail.allow.dblog}
emailformat.recipient_mail = {$plugin.powermail.emailformat.recipient_mail}
emailformat.sender_mail = {$plugin.powermail.emailformat.sender_mail}
enable.unique = {$plugin.powermail.enable.unique}
email.noreply = {$plugin.powermail.email.noreply}
email.checkMX = {$plugin.powermail.email.checkMX}
email.overwritesender = {$plugin.powermail.email.overwritesender}
hiddenfields.show = {$plugin.powermail.hiddenfields.show}
markerALL.hideLabel = {$plugin.powermail.markerALL.hideLabel}
markerALL.notIn = {$plugin.powermail.markerALL.notIn}
PID.dblog = {$plugin.powermail.PID.dblog}
form.method = {$plugin.powermail.form.method}
format.datetime = {$plugin.powermail.format.datetime}
format.date = {$plugin.powermail.format.date}
label.allowTags = {$plugin.powermail.label.allowTags}
html.removeXSS = {$plugin.powermail.html.removeXSS}
countryselect.charset = {$plugin.powermail.countryselect.charset}
mandatory.symbol = {$plugin.powermail.mandatory.symbol}
mandatory.wrap = {$plugin.powermail.mandatory.wrap}
captcha.use = {$plugin.powermail.captcha.use}
pagebrowser.wrap = {$plugin.powermail.pagebrowser.wrap}
upload.folder = {$plugin.powermail.upload.folder}
upload.file_extensions = {$plugin.powermail.upload.file_extensions}
upload.filesize = {$plugin.powermail.upload.filesize}
upload.attachment = {$plugin.powermail.upload.attachment}
clear.session = {$plugin.powermail.clear.session}
js.mandatorycheck = {$plugin.powermail.js.mandatorycheck}
js.mandatorydivclass = {$plugin.powermail.js.mandatorydivclass}
js.onfocus = {$plugin.powermail.js.onfocus}
js.Prototype = {$plugin.powermail.js.Prototype}
js.HTMLentities = {$plugin.powermail.js.HTMLentities}
field.checkboxJS = {$plugin.powermail.field.checkboxJS}
rte.parse = {$plugin.powermail.rte.parse}
powermail.charset = {$plugin.powermail.powermail.charset}
barrier-free.tabindex = {$plugin.powermail.barrier-free.tabindex}
barrier-free.accesskey = {$plugin.powermail.barrier-free.accesskey}
geoip.file = {$plugin.powermail.geoip.file}
geoip.addValuesToMarkerALL = {$plugin.powermail.geoip.addValuesToMarkerALL}
debug.output = {$plugin.powermail.debug.output}
# adding (or changing) flexible locallang markers in any HTML template or RTE field (example)
_LOCAL_LANG.en {
locallangmarker_yourvalue = this is a new text
}
# adding flexible typoscript markers in any HTML template or RTE field (example)
dynamicTyposcript {
yourmarker = TEXT
yourmarker.value = This is a new text
}
powermail - 41
# fill field uid998 with current date like "Date: 20.01.2009"
uid996 = TEXT
uid996.data = date:U
uid996.strftime = Date: %d.%m.%Y
# table "tt_address" with field "pid" is the current pid (e.g. 12)
# tt_address.pid = TEXT
# tt_address.pid.field = uid
# table "tt_address" with field "tstamp" is the current time as timestamp (like 123456789)
# tt_address.tstamp = TEXT
# tt_address.tstamp.data = date:U
# table "tt_address" with field "address" is the current formatted time (like "Date: 20.01.2009")
# tt_address.address = TEXT
# tt_address.address.data = date:U
# tt_address.address.strftime = Date: %d.%m.%Y
# table "tt_address" with field "name" is the value from powermail (tt_content uid 88) field uid18 (###uid18###)
# tt_address.name = TEXT
# tt_address.name.data = TSFE:fe_user|sesData|powermail_88|uid18
# table "tt_address" with field "last_name" is the value from powermail (tt_content uid 88) field uid18 (###uid18###)
# tt_address.last_name = TEXT
# tt_address.last_name.data = TSFE:fe_user|sesData|powermail_88|uid18
# table "tt_address" with field "company" is the value from powermail (tt_content uid 88) field uid21_1 (###uid21_1###)
(e.g. a checkbox value)
# tt_address.company = TEXT
# tt_address.company.data = TSFE:fe_user|sesData|powermail_88|uid21|1
}
# TypeNum 3131 offers a dynamic javascript for powermail which allows to validate different fields
powermailJS = PAGE
powermailJS {
typeNum = 3131
10 < plugin.tx_powermail_pi1
config {
disableAllHeaderCode = 1
xhtml_cleaning = 0
admPanel = 0
}
}
powermail - 42
HTML template and markers example use
Example for email for recipients
<!--###POWERMAIL_RECIPIENT_MAIL### start-->
<p>
###POWERMAIL_LOCALLANG_EMAIL_RECEIVER###<br />
###POWERMAIL_EMAILRECIPIENT_RTE###<br />
###UID12###
###POWERMAIL_ALL###
</p>
<!--###POWERMAIL_RECIPIENT_MAIL### stop-->
###POWERMAIL_LOCALL Plugin search for a value from pi1/locallang.xml with the name That where your values:
ANG_EMAIL_RECEIVER# locallangmarker_email_receiver (you can overwrite the xml file or set your own text
## via TS setup – see below)
###POWERMAIL_EMAILR This is a special marker for use in the email template. This marker will be filled with New mail
ECIPIENT_RTE### the backend RTE for receivers (NOTE: You can also use marker in the RTE fields)
###UID12### Onchange JavaScript: (De)activate onchange javascript for select fields - adds an George Smith
onchange javascript to all select fields - automatic submit onchange
###UID12_0### If you use values in sencond level (like checkboxes with tx_powermail_pi1[uid3][0]) Values: red, blue, green
than you can use this marker. NOTE: If you want to display all values of the
checkbox, simply use ###UID12###
###POWERMAIL_ALL### This marker shows all values of all fields. Helpful if you have a long form. Name: George
Prename: Smith
Years: 34
Country: USA
###POWERMAIL_BASEUR This marker simply enters the base url like http://www.test.de (Helpful if you want to http://www.test.de
L### load graphics in the email from your website)
###FILE_0### Name of uploaded file File_12345.jpg
Changing (or adding new) flexible locallang markers in any html template or RTE field:
HTML example
###POWERMAIL_LOCALLANG_CONFIRMATION_BACK###
###POWERMAIL_LOCALLANG_NEWLANGUAGEMARKER###
Typoscript example
You can use this both locallang files for example in the html templates by using ###POWERMAIL_LOCALLANG_VALUE###
plugin.tx_powermail_pi1._LOCAL_LANG.en {
locallangmarker_confirmation_back = Go back
locallangmarker_newlanguagemarker = This is a new marker text
JSvalidation_label_required = Please fill this mandatory field!
}
plugin.tx_powermail_pi1._LOCAL_LANG.de {
locallangmarker_confirmation_back = Zum Formular
locallangmarker_newlanguagemarker = Das ist ein neuer Marker Text
JSvalidation_label_required = Dieses Feld ist ein Pflichtfeld!
}
Adding new flexible typoscript markers in any html template or RTE field:
HTML example
###POWERMAIL_TYPOSCRIPT_YOURFIELD1###
###POWERMAIL_TYPOSCRIPT_YOURFIELD2###
###POWERMAIL_TYPOSCRIPT_YOURFIELD3###
Typoscript example
Add some new markers with all typoscript features (TEXT, IMAGE, COA, USER, etc...) you already know
plugin.tx_powermail_pi1.dynamicTyposcript {
yourfield1 = TEXT
powermail - 43
yourfield1.value = this is a text
yourfield2 = TEXT
yourfield2.field = uid
yourfield3 = USER
yourfield3.userFunc = user_various->listContentRecordsOnPage
}
powermail - 44
Backend module
Introduction
Powermail offers a backend module to view all mails in the database
● Choose Powermail in the Web menu on the left site of the backend
powermail - 45
Define your export file as you want via tsconfig
Use tsconfig of the page where your powermails are listed, to manipulate the export file or the listing in the backend
(see example)
Example
# set columns
tx_powermail_mod1.export {
number = #
uid42 = Title
uid43 = Prename
uid44 = Lastname
uid45 = Email
date = Registration-Date
time = Registration-Time
}
# set config
tx_powermail_mod1.config {
export.useTitle = 1
export.dateformat = d.m.Y
export.timeformat = H:i
list.perPage = 50
list.filterstart = 2008-04-01 00:00
list.filterend = 2008-12-01 00:00
list.dateformat = d.m.Y H:i
}
powermail - 46
Available markers for tsconfig
powermail - 47
Features
Validation of field values
JavaScript validation
Example
If you have activated validation JS in constants (default), than you can validate values of textfields just after input in frontend:
Check for:
This validation of textfields are currently possible:
● Mandatory
● E-Mail
● URL
● Numbers
● Numbers (with comma or point)
● Letters
● Letters and numbers
Error Message:
Note: Current error messages are in german and english – you can change or add your own messages via locallang or
typoscript (see above)
powermail - 48
PHP validation
Email of sender
Email of user will be automaticly checked, as soon as the email field is selected in backend
Use typoscript (in the setup) to check any field like (example to check uid41 if it is an url):
plugin.tx_powermail_pi1 {
validate.uid41.expression = ^(http://)?([a-z0-9-]+\.)+([a-z0-9-]{2,3})$^
validate.uid41.errormsg = Sorry, but this is not a correct URL, try again!
}
You can enter any regulare expression go check your field values
Field (e.g.: ###UID25### and ###UID26###) should contain the same text (maybe for passwords):
plugin.tx_powermail_pi1 {
validate.uid25.expression = /^###UID26###$/
validate.uid25.errormsg = Sorry, but your password fields are different – try again!
}
powermail - 49
Saving db values to any db table
Introduction
With powermail you can save your values to any db table (e.g. fe_users or tt_address)
# table "tt_address" with field "pid" is the current pid (e.g. 12)
tt_address.pid = TEXT
tt_address.pid.field = uid
# table "tt_address" with field "tstamp" is the current time as timestamp (like 123456789)
tt_address.tstamp = TEXT
tt_address.tstamp.data = date:U
# table "tt_address" with field "address" is the current formatted time (like "Date:
20.01.2009")
tt_address.address = TEXT
tt_address.address.data = date:U
tt_address.address.strftime = Date: %d.%m.%Y
# table "tt_address" with field "name" is the value from powermail (tt_content uid 88) field
uid18 (###uid18###)
tt_address.name = TEXT
tt_address.name.data = TSFE:fe_user|sesData|powermail_88|uid18
# table "tt_address" with field "last_name" is the value from powermail (tt_content uid 88)
field uid18 (###uid18###)
tt_address.last_name = TEXT
tt_address.last_name.data = TSFE:fe_user|sesData|powermail_88|uid18
# table "tt_address" with field "company" is the value from powermail (tt_content uid 88)
field uid21_1 (###uid21_1###) (e.g. a checkbox value)
tt_address.company = TEXT
tt_address.company.data = TSFE:fe_user|sesData|powermail_88|uid21|1
}
● With this small add to powermail, you can use powermail for many features like guestbook form, tipafriend form,
fe_user registration, tt_address registration and so on...
powermail - 50
Prefilling fields
Sequence of prefilling fields
1. Is there a fitting piVar like &tx_powermail_pi1[uid11]=text, than use this value, and if not...
2. Is there a value in the session, so fill field with this value, and if not...
3. Is there a value set in the backend flexform, take this value, and if not...
4. Should this field filled with logged in fe_user datas (set in backend), take this value, and if not...
5. Was typoscript used to prefill a field, use this (see example below), and if not
6. Don't fill
Fighting spam
● We suggest you to use the extension wt_spamshield for fighting spam entries
(see details in manual wt_spamshield)
● You can also use captcha (see next paragraph)
powermail - 51
Example: Using sr_freecap
20 = CONTENT
20.wrap = <select id="uid33" name="tx_powermail_pi1[uid33]" size="1">|</select>
20 {
table = tt_address
select {
pidInList = 5
orderBy = name
}
renderObj = COA
renderObj {
10 = COA
10 {
10 = TEXT
10 {
field = uid
wrap = <option value="|">
}
20 = TEXT
20 {
field = name
wrap = |</option>
}
}
}
}
}
powermail - 52
FAQ
I need help/support with this plugin!
Use the TYPO3 forum http://www.typo3.net or http://www.typo3forum.net for help! The author will checks this both forums
and give a little bit free support.
How can I overwrite the locallang translations / How can I add a new locallang marker
You can overwrite the locallang via typoscript or you can change the locallang.xml in the ext folder.
Details - see “HTML Templates and markers use” in manual above
The last file is a little bit tricky – It is the current page with type=3131. If you copy this relative path to your browser, this
should show you a dynamic JavaScript file!
If you want to check of mandatory fields, check if “required” is in the input class.
powermail - 53
If you want to check of email fields, check if “validate-email” is in the input class.
Of course you can mix this.
See standard form for all needed classes.
How can I choose my own html code instead of the automatic html generation
Sometimes it could be useful to use an own html code instead of the automatic html code. You can simply generate some
fields and copy the html source between the form tags in the formwrap.html template – thats all.
Note: This method is not very flexible (no prefilling, no multiple, etc...)
I want a select box in frontend where the user can choose the receiver of the form
Main explanation:
● Add new fe_users in backend with email (e.g. UID1 info@test.com and UID2 with support@test.com)
● Create a new select field in powermail (value e.g. Info | 1 \n Support | 2) (select like ###UID42#)
● Use db query for recipients in TYPO3 backend (e.g. SELECT email FROM fe_users WHERE uid = ###UID42###)
Example pictures:
powermail - 54
Different Examples to select receiver in frontend:
Query for sending form to a static fe usergroup (e.g.: usergroup with uid 44)
SELECT email FROM fe_users WHERE find_in_set(44,usergroup) > 0 AND hidden = 0 AND deleted = 0
I will check some fields (with php) if the value is an email or an URL
plugin.tx_powermail_pi1 {
validate.uid41.auto = email
validate.uid41.errormsg = Please check your email, there is an error!
validate.uid56.auto = url
validate.uid56.errormsg = Please check your url, there is an error!
}
We know about this problem (< TYPO3 4.2) and there is an entry in the typo3 bugtracker:
http://bugs.typo3.org/view.php?id=7297
Workarround: You can disable dividers2tab in the extension manager of powermail, so tt_content is without dividers2tab (but
powermail too)
powermail - 55
CSS corner
Add a default CSS
Example picture (adding static template):
Explanation:
Adding the static template “Add default CSS (powermail)” integrates the default CSS from powermail folder:
css/sampleCSS.css
powermail - 56
How to get labels and fields in two columns with css
Example picture:
Example css:
fieldset.tx-powermail-pi1_fieldset {
/* Disable border */
border: none;
}
fieldset.tx-powermail-pi1_fieldset label {
/* Style labels */
display: block;
width: 150px;
float: left;
clear: both;
}
fieldset.tx-powermail-pi1_fieldset input,
fieldset.tx-powermail-pi1_fieldset select {
/* Style input fields */
width: 200px;
border: none;
border-bottom: 1px solid black;
margin-left: 10px;
}
div.tx_powermail_pi1_fieldwrap_html {
/* Increase margin between every field */
margin: 10px 0;
}
powermail - 57
How to get two columns
Note:
You can use more than only one fieldset to style your form with more columns.
So you should add two pages (fieldsets) to your form and choose “single step”.
Example picture:
Example css:
fieldset.tx-powermail-pi1_fieldset {
/* Disable border */
border: none;
}
fieldset.tx-powermail-pi1_fieldset_1 {
/* Style left fieldset */
width: 45%;
float: left;
}
fieldset.tx-powermail-pi1_fieldset_2 {
width: 45%;
}
powermail - 58
Developers corner
Database relation model
(also available in extension folder powermail/doc/database_relation)
powermail - 59
Hooks in powermail
Introduction
With the possibilitiy of hooks, you can manipulate extensions and TYPO3 without changing the code. So you enter your own
code from outside.
Hook documentation
# Hookname File Folde Function Input Retur Note Example use
r n
1 Real class.tx_ lib PM_marke $this- - This is the main $GLOBALS['TYPO3_CON
markerArr powermail rArrayHo >what, markerArray hook. F_VARS']['EXTCONF']
ay hook _markers. ok $this- Every action in ['powermail']
php >geoArray, powermail (show ['PM_MarkerArrayHoo
$this- confirmationpage, show k'][]
>markerArr thx page, show
ay, $this- mandatory page,
>sessionda generate email to
ta, $this- receiver, generate
>tmpl, email to sender) uses
$this the marker class to
show fieldvalues. With
this you you can
manipulate this output
as you want
2 Hook for class.tx_ pi1 PM_MainC $this- - You can change the $GLOBALS['TYPO3_CON
main powermail ontentBe >sessionfi sessions or piVars or F_VARS']['EXTCONF']
manipulat _pi1.php foreHook elds, something like that ['powermail']
ion1 $this- ['PM_MainContentHoo
>piVars, kBefore'][]
$this
3 Hook for class.tx_ pi1 PM_MainC $this- - Change the whole $GLOBALS['TYPO3_CON
main powermail ontentAf >content, output $content F_VARS']['EXTCONF']
manipulat _pi1.php terHook $this- ['powermail']
ion2 >piVars, ['PM_MainContentHoo
$this kAfter'][]
4 FormWrap class.tx_ pi1 PM_FormW $this- - This hook will be $GLOBALS['TYPO3_CON
outerMark powermail rapMarke >OuterMark opened before the F_VARS']['EXTCONF']
erArray _form.php rHook erArray, outerMarker array is ['powermail']
Hook $this- substituted with HTML ['PM_FormWrapMarker
>subpartAr template on the form Hook'][]
ray, page.
$this-
>conf,
$this
5 FormWrap class.tx_ pi1 PM_FormW $this- - This hook will be $GLOBALS['TYPO3_CON
innerMark powermail rapMarke >InnerMark opened before the F_VARS']['EXTCONF']
erArray _form.php rHookInn erArray, innerMarker array is ['powermail']
Hook er $this- substituted with HTML ['PM_FormWrapMarker
>conf, template on the form HookInner'][]
$this page.
6 Hook for class.tx_ pi1 PM_Field $this- $this This hook allows you $GLOBALS['TYPO3_CON
adding powermail Hook >xml, - to add new fields to F_VARS']['EXTCONF']
new _html.php $this- >cont powermail (see ['powermail']
fields >title, ent powermail_mul for an ['PM_FieldHook']
$this- example) ['FIELDNAME'][]
>type,
$this-
>uid,
$this-
>markerArr
ay, $this-
>piVarsFro
mSession,
$this
powermail - 60
# Hookname File Folde Function Input Retur Note Example use
r n
7 Hook class.tx_ pi1 PM_Field $this- - This hook will be $GLOBALS['TYPO3_CON
after powermail WrapMark >uid, opened before the html F_VARS']['EXTCONF']
field _html.php erHook $this- code of the current ['powermail']
generatio >xml, field is given back ['PM_FieldWrapMarke
n $this- (at the end of rHook'][]
>type, fieldgeneration).
$this- Maybe if you want to
>title, manipulate a special
$this- field
>markerArr
ay, $this-
>content,
$this-
>piVarsFro
mSession,
$this
8 Hook for class.tx_ pi1 PM_Field $this- - This hook will be used $GLOBALS['TYPO3_CON
markerArr powermail WrapMark >uid, for every kind of F_VARS']['EXTCONF']
ay in _html.php erArrayH $this- field. You can ['powermail']
field ook >xml, manipulate the ['PM_FieldWrapMarke
generatio $this- markerArray before the rArrayHook'][]
n >type, field is generated
$this-
>title,
$this-
>markerArr
ay, $this-
>piVarsFro
mSession,
$this
9 Hook for class.tx_ pi1 PM_Field $this- - This hook will be used $GLOBALS['TYPO3_CON
markerArr powermail WrapMark >uid, for every kind of F_VARS']['EXTCONF']
ay in _html.php erHookIn $this- field. You can ['powermail']
field ner >xml, manipulate the ['PM_FieldWrapMarke
generatio $this- markerArray before the rArrayHookInner'][]
n (inner >type, field is generated
markerArr $this- (this hook will be
ay for >title, used for
checkboxe $markerArr innerMarkerArray –
s, ay, $this- checkbox,
radiobutt >piVarsFro radiobuttons, etc...)
ons, and mSession,
so on) $this
1 Hook for class.tx_ pi1 PM_Confi $this- - This hook will be $GLOBALS['TYPO3_CON
0 confirmat powermail rmationH >markerArr opened before the F_VARS']['EXTCONF']
ion page _confirma ook ay, $this marker array is ['powermail']
tion.php substituted with HTML ['PM_ConfirmationHo
template on the ok'][]
confirmation page.
1 Mandatory class.tx_ pi1 PM_Manda $this- - If you set $this- $GLOBALS['TYPO3_CON
1 and error powermail toryHook >error, >error to 1, powermail F_VARS']['EXTCONF']
check _mandator $this- will stop the submit ['powermail']
hook y.php >markerArr process, with $this- ['PM_MandatoryHook'
ay, $this- >sessionfields you can ][]
>innerMark write your own error
erArray, message
$this-
>sessionfi
elds,
$this
1 Hook for class.tx_ pi1 PM_Submi $this- - This hook allows to $GLOBALS['TYPO3_CON
2 email powermail tEmailHo >subpart, change the emails F_VARS']['EXTCONF']
change _submit.p ok $this- (subject, receiver, ['powermail']
hp >maildata, sender, etc..) ['PM_SubmitEmailHoo
$this- k'][]
>sessionda
ta, $this-
>markerArr
ay, $this
1 Submit class.tx_ pi1 PM_Submi $this, Error If you want to stop $GLOBALS['TYPO3_CON
3 hook powermail tBeforeM $this- code the submit (emails and F_VARS']['EXTCONF']
before _submit.p arkerHoo >markerArr (0/1 db insert), you can ['powermail']
submit hp k ay, $this- bolea return TRUE ['PM_SubmitBeforeMa
>sessionda n) rkerHook'][]
ta
powermail - 61
# Hookname File Folde Function Input Retur Note Example use
r n
1 Submit class.tx_ pi1 PM_Submi $this, - If you want to do $GLOBALS['TYPO3_CON
4 hook powermail tAfterMa $this- something after a F_VARS']['EXTCONF']
after _submit.p rkerHook >markerArr correct submit, you ['powermail']
emails hp ay, $this- can use this hook ['PM_SubmitAfterMar
>sessionda (maybe an additional kerHook'][]
ta db entry)
1 Thx class.tx_ pi1 PM_Submi $this- - If you want to $GLOBALS['TYPO3_CON
5 message powermail tLastOne >content, manipulate the thx F_VARS']['EXTCONF']
hook _submit.p Hook $this- message after submit ['powermail']
hp >conf, ['PM_SubmitLastOne'
$this- ][]
>sessionda
ta, $this-
>ok, $this
Additional information
Hook documentation is also available in extension folder powermail\doc\hook
● hooks.ods could be open with OpenOffice
● hooks.html can be read with a browser
Look into another extension which uses a powermail hook to manipulate powermail
The antispam extension wt_spamshield uses two powermail hooks, look into the code, if you want to know more:
http://typo3.org/extensions/repository/view/wt_spamshield/0.1.6/
powermail - 62
Todos
Bugfixes
● A list of known bugs is viewable at forge.typo3.org:
http://forge.typo3.org/projects/extension-powermail/issues
Features
● A list of useful features is viewable at forge.typo3.org:
http://forge.typo3.org/projects/extension-powermail/issues
Request
Do you need a new feature or maybe you've found a bug?
Please add a new issue at http://forge.typo3.org/projects/extension-powermail/issues or write us an email!
powermail - 63
Changelog
Powermail version 1.3.x stable
powermail - 64
● Language selection is no more shown twice
● Bugfix: Values of submit and reset
● Bugfix: Save mails was shown in other plugins
powermail - 65
● New feature: Tabindex available in fields (via constants)
powermail - 66
● Filter is always visible in backend module (even if current page has no powermails)
powermail - 67
Update on 08.03.2008 version 1.0.7
● Bugfix: require_once error on a few server
● Some kind of “code cleaning”
powermail - 68
Powermail version 0.6.x beta
powermail - 69
● Bugfix: Another umlauts problem (utf-8)
● Disallow quotes in tags
● You can disable tab dividers if wanted
● Define which fe_users fields are available for prefilling
powermail - 70
Update on 16.01.2008 version 0.3.3
● Add mandatory and validation javascript for fieldcheck
powermail - 71
Additional links
You can use one of the following links, to get more informations about this plugin:
● Authors (Alex Kellner) homepage: http://www.einpraegsam.net
● Authors (Mischa Heißmann) homepage: http://www.heissmann.org
● Tuning parts for your car: http://www.wunschtacho.de
● Stuff for snowboarder and skier: http://www.justpowder.de
● Do you need help with this plugin: http://www.typo3.net
powermail - 72