Zum Inhalt springen

Powermail - Email validierung ?

Erstellt am 9. Juli 2008 · 3 Antworten · letzte Antwort am 9. Juli 2008

Tags: Frage

lorrey ·

Hallo!

Ich setzte die neuste Version von Powermail ein (1.3.8-), leider bekomme ich da keine Emailvalidierung mehr.

In einer älteren Version (1.1.10) geht es mit der gleichen Config!

Hat sich dort was geändert?!?

Hier meine Config:

###
# This are the default TS-constants for powermail
##

plugin.powermail {
	# cat=plugin.powermail_mainconfig/file/010; type=file[html,htm,tmpl,txt]; label= Template File formwrap: HTML-template file for formwrap (see EXT:powermail/templates/tmpl_formwrap.html for an example)
	template.formWrap = fileadmin/system_templates/formulare/tmpl_formwrap.html
	
	# cat=plugin.powermail_mainconfig/file/020; type=file[html,htm,tmpl,txt]; label= Template File fieldwrap: HTML-template file for fieldwraps (see EXT:powermail/templates/tmpl_fieldwrap.html for an example)
	template.fieldWrap = fileadmin/system_templates/formulare/tmpl_fieldwrap.html
	
	# cat=plugin.powermail_mainconfig/file/030; type=file[html,htm,tmpl,txt]; label= Template File thx-message: HTML-template file for thx message after submit (see EXT:powermail/templates/tmpl_thx.html for an example)
	template.thxMessage = fileadmin/system_templates/formulare/tmpl_thx.html
	
	# cat=plugin.powermail_mainconfig/file/040; type=file[html,htm,tmpl,txt]; label= Template File emails: HTML-template file for emails messages (sender and receiver) (see EXT:powermail/templates/tmpl_emails.html for an example)
	template.emails = fileadmin/system_templates/formulare/tmpl_emails.html
	
	# cat=plugin.powermail_mainconfig/file/050; type=file[html,htm,tmpl,txt]; label= Template File confirmation: HTML-template file to change html code of the confirmation page (if confirmation is active) (see EXT:powermail/templates/tmpl_confirmation.html for an example)
	template.confirmation = fileadmin/system_templates/formulare/tmpl_confirmation.html
	
	# cat=plugin.powermail_mainconfig/file/060; type=file[html,htm,tmpl,txt]; label= Template File ALL marker: HTML-template file if you want to use the marker ###POWERMAIL_ALL### - here you can set the HTML code for each line (see EXT:powermail/templates/tmpl_all.html for an example)
	template.all = fileadmin/system_templates/formulare/tmpl_all.html
	
	# cat=plugin.powermail_mainconfig/file/070; type=file[html,htm,tmpl,txt]; label= Template File mandatory: HTML-template file for mandatory page (if any mandatory field was not filled) (see EXT:powermail/templates/tmpl_mandatory.html for an example)
	template.mandatory = fileadmin/system_templates/formulare/tmpl_mandatory.html
	
	# cat=plugin.powermail_mainconfig/file/080; type=file[html,htm,tmpl,txt]; label= Template File multiple: HTML-template file for multiple pages (see EXT:powermail/templates/tmpl_multiplejs.html for an example)
	template.MultipleJS = fileadmin/system_templates/formulare/tmpl_multiplejs.html

	# cat=plugin.powermail_mainconfig/enable/100; type=boolean; label= Email to receiver active: You can disable emails to receiver (maybe if you want only to store the values to db)
	allow.email2receiver = 1

	# cat=plugin.powermail_mainconfig/enable/110; type=boolean; label= Email to sender active: You can disable confirmation emails to sender
	allow.email2sender = 1

	# cat=plugin.powermail_mainconfig/enable/130; type=boolean; label= Log every mail in db: Disable logging, if you want only to get mails
	allow.dblog = 1
	
	# cat=plugin.powermail_mainconfig/enable/200; type=int; label= PID where to save logfiles: Enter a Page ID where the form values should be saved to the db (empty: same PID as form PID)
	PID.dblog = 
	
	
	
	
	
	# cat=plugin.powermail_additionalconfig//400; type=text; label= Standard sender address: This email address is 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.noreply = noreply@###DOMAIN###
	
	# cat=plugin.powermail_additionalconfig//410; type=text; label= Exclude fields from marker ALL: Exclude some fields from marker ###POWERMAIL_ALL### (e.g.: ###UID14###,###UID22### or UID14,UID22)
	markerALL.notIn = ###UID18###
	
	# cat=plugin.powermail_additionalconfig//420; type=text; label= Form method: use post or get as post format (details see on selfhtml.org)
	form.method = post
	
	# cat=plugin.powermail_additionalconfig//430; type=text; label= Datetime format: Frontend datetime format if datetime field is in use (see http://php.net/manual/function.strftime.php for strftime details)
	format.datetime = %H:%M %d-%m-%Y
	
	# cat=plugin.powermail_additionalconfig//440; type=text; label= Date format: Frontend date format if date field is in use (see http://php.net/manual/function.strftime.php for strftime details)
	format.date = %d-%m-%Y
	
	# cat=plugin.powermail_additionalconfig//460; type=text; label= Allowed tags in labels: Allow some tags for label fields
	label.allowTags = <p><br><b><strong><a>
	
	# cat=plugin.powermail_additionalconfig//470; type=text; label= Add symbol for mandatory fields: If any field is a mandatory field, add this at the end of the label
	mandatory.symbol = *
	
	# cat=plugin.powermail_additionalconfig//480; type=wrap; label= Wrap mandatory symbol: You can wrap the mandatory symbol with any html code
	mandatory.wrap = <span class="powermail_mandatory">|</span>
	
	# cat=plugin.powermail_additionalconfig//490; type=options[sr_freecap,captcha]; label= Use captcha extension: If you have installed sr_freecap and captcha, you can select which extension should be used
	captcha.use = sr_freecap
	
	# cat=plugin.powermail_additionalconfig//500; type=wrap; label= Wrap pagebrowser: If you use multiple pages (PHP), you can show the current page like 1 of 3
	pagebrowser.wrap = <p class="powermail_pagebrowser">|</p>
	
	# cat=plugin.powermail_additionalconfig//510; type=text; label= Folder for uploaded files: If you are using min. one upload field in frontend, you can change the folder where the uploaded file is safed
	upload.folder = uploads/tx_powermail/files/
	
	# cat=plugin.powermail_additionalconfig//520; type=text; label= Allow files for upload: If you are using min. one upload field in frontend, you can set the allowed extension of this files (use small letters)
	upload.file_extensions = jpg,jpeg,gif,png,tif,txt,doc,xls,sxw,html,swf
	
	# cat=plugin.powermail_additionalconfig//600; type=int; label= Allow filesize for upload: If you are using min. one upload field in frontend, you can set the allowed filesize of the files (in kB)
	upload.filesize = 1000
	
	# cat=plugin.powermail_additionalconfig//610; type=boolean; label= Upload and attach: If checked, all files will be sent as an attachment to the receiver (if disabled, files will only stored on server)
	upload.attachment = 1

	# cat=plugin.powermail_additionalconfig//620; type=boolean; label= Clear Session: Check if session should be cleared after submit (emails sent)
	clear.session = 1
	
	# cat=plugin.powermail_additionalconfig//900; type=boolean; label= Check for mandatory fields: (De)activate JavaScript check for mandatory fields (and other fields like email, url, etc..).
	js.mandatorycheck = 1
	
	# cat=plugin.powermail_additionalconfig//910; type=text; label= Mandatory JS DIV class: Enter your own css class for the mandatory javascript div layer (div layer which is shown, if a field was not filled, etc...)
	js.mandatorydivclass = powermail_mandatory_js
	
	# cat=plugin.powermail_additionalconfig//920; type=boolean; label= OnFocus JavaScript: (De)activate onfocus javascript in fields - removes standard value of (e.g. text-) fields onclick, so the user can click and begin to write
	js.onfocus = 1
	
	# cat=plugin.powermail_additionalconfig//930; type=boolean; label= Onchange JavaScript: (De)activate onchange javascript for select fields - adds an onchange javascript to all select fields - automatic submit onchange
	js.onchange = 0

	# cat=plugin.powermail_additionalconfig//940; type=boolean; label= Load prototype.js: (De)activate loading prototype.js in 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.Prototype = 1

	# cat=plugin.powermail_additionalconfig//950; type=boolean; label= HTMLentities for JS: (De)activate the php function 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
	js.HTMLentities = 1
	
	field.checkboxJS = 0
}
lorrey ·

js.mandatorycheck = 1

ich nehme mal an js?

er sagt nur ich muss das feld email ausfüllen, ob ich da irgendwas oder eine email adresse rein schreibe ist ihm aber egal!

ja, ich hab bei "Dieses Feld überprüfen nach" - Email-Adresse angegeben.

also sollte es gehen, wie gesagt bei der alten version tut es - ich hab schon alles verglichen und finde den unterschied nicht!

einpraegsam.​net ·
lorrey schrieb

js.mandatorycheck = 1

ich nehme mal an js?

er sagt nur ich muss das feld email ausfüllen, ob ich da irgendwas oder eine email adresse rein schreibe ist ihm aber egal!

ja, ich hab bei "Dieses Feld überprüfen nach" - Email-Adresse angegeben.

also sollte es gehen, wie gesagt bei der alten version tut es - ich hab schon alles verglichen und finde den unterschied nicht!

Hast du mal einen Link für mich?