Hallo zusammen
also ich raff das net.. hab folgendes im root-template bei constants definiert:
# Making sure each line in image captions (of Image content elements) are applied to corresponding image number in the element:
styles.content.imgtext.captionSplit = 1
plugin.tx_srfeuserregister_pi1.userGroupAfterConfirmation = 2
plugin.tx_srfeuserregister_pi1.editPID = 0
plugin.tx_srfeuserregister_pi1.registerPID = 31
plugin.tx_srfeuserregister_pi1.confirmPID = 35
plugin.tx_srfeuserregister_pi1.confirmInvitationPID = 0
plugin.tx_srfeuserregister_pi1.linkToPID = 0
plugin.tx_srfeuserregister_pi1.loginPID = 34
plugin.tx_srfeuserregister_pi1.pid = 33
plugin.tx_srfeuserregister_pi1.userGroupUponRegistration = 2
plugin.tx_srfeuserregister_pi1.formFields = password, last_name, email, comments, city, captcha_response
plugin.tx_srfeuserregister_pi1.usernameAtLeast = 2
plugin.tx_srfeuserregister_pi1.email = info@isfha.org
plugin.tx_srfeuserregister_pi1.enableEmailConfirmation = 0
plugin.tx_srfeuserregister_pi1.enableEmailOnApprove = 0
plugin.tx_srfeuserregister_pi1.enableAutoLoginOnCreate = 1
plugin.tx_srfeuserregister_pi1.useEmailAsUsername = 1
plugin.tx_srfeuserregister_pi1.siteName = isfha.org
plugin.tx_srfeuserregister_pi1.requiredFields = password,first_name,last_name,email, city, captcha_response
plugin.tx_srfeuserregister_pi1.enableHTMLMail = 1
demnach sollten ja html-emails versendet werden.
template:
<p style="margin-top: 20px">In these plain text email templates the first line with content is used as subject in the mails.</p>
<p><em>This template is used to confirm to a person by email that he has created his account and no confirmation is requested.</em></p>
<!-- ###EMAIL_TEMPLATE_CREATE_SAVED_HTML### begin -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<style type="text/css">
###CSS_STYLES###
</style>
<title>###LABEL_V_REGISTRATION_CREATED_SUBJECT###</title>
<meta http-equiv="Content-Type" content="text/html; charset=###CHARSET###" />
<meta name="generator" content="TYPO3 CMS" />
</head>
<body>
<!-- ###SUB_RECORD### -->
<h4>###LABEL_V_DEAR###</h4>
<p>###LABEL_V_REGISTRATION_CREATED_MESSAGE1###</p>
<p>HTML</p>
<p>###LABEL_V_REGISTRATION_CREATED_MESSAGE2###</p>
<p>###LABEL_KIND_REGARDS###</p>
<h4>###SITE_NAME###</h4>
<p><a href="###SITE_URL###">###SITE_WWW###</a><br />
<a href="mailto:###SITE_EMAIL###">###SITE_EMAIL###</a></p>
<!-- ###SUB_RECORD### -->
</body>
</html>
<!-- ###EMAIL_TEMPLATE_CREATE_SAVED_HTML### end--><p style="margin-top: 20px"><em>This template is used to confirm to a person by email that he has created his account and no confirmation is requested.</em></p>
<!-- ###EMAIL_TEMPLATE_CREATE_SAVED### begin -->
<!-- ###SUB_RECORD### -->###LABEL_V_REGISTRATION_CREATED_SUBJECT######LABEL_V_DEAR###
###LABEL_V_REGISTRATION_CREATED_SUBJECT###
###LABEL_V_REGISTRATION_CREATED_MESSAGE1###KEIN HTML
###LABEL_V_REGISTRATION_CREATED_MESSAGE2###
###LABEL_KIND_REGARDS_CRE###
###SITE_NAME###
###SITE_URL###
###SITE_EMAIL###
<!-- ###SUB_RECORD### -->
<!-- ###EMAIL_TEMPLATE_CREATE_SAVED### end-->
Ich krieg aber immer die message wo "KEIN HTML" drinn steht. Sieht jemand einen Fehler?
Gruss Stefan