Zum Inhalt springen

mailformplus: sendtouser und replyto konfigurieren

Erstellt am 25. Juli 2007 · 7 Antworten · letzte Antwort am 8. November 2007

Tags: E-Mail-Versand, Frage

timmy2007 ·

Hallo,

mein Template des Formulares ist folgender Code:

<!-- ###TEMPLATE_FORM### begin -->
<form name="Formular" method="post" action="###URL###" enctype="multipart/form-data">
<input type="hidden" name="id" value="###PID###">
<input type="hidden" name="submitted" value="1">
<input type="hidden" name="L" value="0">
<input type="hidden" name="type" value="###value_type###">
###ERROR###
<table border="0" cellspacing="2" cellpadding="0">
<tr>
	<td valign="top">Name</td>
	<td valign="top">###error_name###<input type="text" name="name" value="###value_name###"></td>
</tr>
<tr>
	<td valign="top">Email</td>
	<td valign="top">###error_email###<input type="text" name="email"  value="###value_email###"></td>
</tr>
<tr>
	<td valign="top">Text</td>
	<td valign="top"><textarea cols="50" rows="5" name="text" style="width:320px;">###value_text###</textarea></td>
</tr>
<tr><td valign="top">Bitte unten stehenden Code eingeben:</td></tr>

<tr>
	<td valign="top">###CAPTCHA###</td>
	<td valign="top">###error_captcha###<input type="text" name="captcha" value="###value_captcha###"></td>
</tr>

<tr>
	<td>&nbsp;</td>
	<td valign="top" align="left"><input type="submit" value="Absenden"></td>
</tr>
</table>
###ADDITIONAL_MULTIPAGE###
</form>
<!-- ###TEMPLATE_FORM### end -->

Ich habe eigentlich im Plugin die Eingabefelder angegeben, die dann per Mail an den User als Bestätigung zugesandt werden. Aber das funzt nicht.

Nun will ich es mit Typoscript in der extra erstellten Extension-Template probieren. Folgendes habe ich mal eingegeben. Auch ohne "#" oder nur "value_email".

Was fehlt?

plugin.tx_thmailformplus_pi1.default.email_sendtouser = ###email###
plugin.tx_thmailformplus_pi1.default.email_replyto = ###email###
timmy2007 ·

Ich habe jetzt folgendes eingegeben, aber es funktioniert nicht.

Aus der Doku zur Extension werde ich einfach nicht schlau!

plugin.tx_thmailformplus_pi1.default.email_sendtouser = [email]
plugin.tx_thmailformplus_pi1.default.email_replyto = [email]
Unbekannter Benutzer ·

Hallo,

es gibt zum Konfigurieren der E-Mail spezielle Subparts im HTML-Template. Wirf mal einen Blick auf die Beispieldatei mailformplus_demo.html im Ordner example_form in der Extension. Da drin findest du die insgesamt 4 Subparts für die E-Mails mit Beispielanwendung.

###TEMPLATE_EMAIL_USER###
###TEMPLATE_EMAIL_USER_HTML###
###TEMPLATE_EMAIL_RECEIVER###
###TEMPLATE_EMAIL_RECEIVER_HTML###

lg,
Reinhard

timmy2007 ·

Danke. Das ist mir schon klar.

Ich möchte aber wissen wie ich mit TS eine Kopie der an mich gesandten Email an den Absender verschicke?

Unbekannter Benutzer ·
plugin.tx_thmailformplus_pi1.default.email_sendtouser = [feldname]

Bsp:

plugin.tx_thmailformplus_pi1.default.email_sendtouser = email

So wird eine E-Mail an eine Adresse im Formularfeld "email" verschickt