[TYPO3-core] RFC: #13439: [FEATURE] Allow marker for Subject and Message in aut-response-message of Mailform

Christian Buelter buelter at kennziffer.com
Thu Mar 4 16:32:10 CET 2010


Hi,

I tested this against trunk and the message body got broken when using
german umlauts on a utf-8 installation:

--------------------------------
Dear user,

that was your message:

FIRSTNAME:  Christian
EMAIL:  buelter at kennziffer.com
YOURMESSAGE:  Das w=C3=A4re sch=C3=B6n.

--------------------------------

Although the subject was OK.

And I would propose to replace the markers BEFORE exploding theParts.
Then you yould use both markers in the subject and in the message body.
Right now you can marker "subject" in the subject and marker "message"
in message body.

Although then the replaced text must not contain any slashes if you use
the marker in the subject.

An alternative would be to first explode theParts but then replace both
markers in $theParts[0] and $theParts[1].

I was thinking of something like this in the message body:

Thank you for your message.
That was your subject: ...
This is your message: ...

Greetings,

Christian


Am 05.02.2010 19:10, schrieb Steffen Kamper:
> Hi,
> 
> This is an SVN patch request.
> 
> Type: New feature
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=13439
> 
> Branches:
> trunk
> 
> Problem:
> There is a neat feature for autorespond in the Mailform CE.
> 
> If you add this field:
> |auto_respond_msg=hidden| Hello / This is an autoresponse. //We have
> received your mail.
> 
> you as sender will receive automatic a mail with subject "Hello" and the
> message:
> This is an autoresponse.
> 
> We have received your mail.
> 
> This feature allows to use given subject and sended message to be added
> to this mail using marker
> ###SUBJECT### will be replaced with given subject of the mail
> ###MESSAGE### will be replaced by the plain content sended with the form.
> 
> Example:
> |auto_respond_msg=hidden| [Autorespond] ###SUBJECT### /This is an
> automatic generated answer.//Your message://###MESSAGE###
> 
> 
> DOCUMENTATION
> http://typo3.org/documentation/document-library/references/doc_core_tsref/4.0.0/view/8/20/
> 
> 
> "auto_respond_msg": This is a autoresponder message. This is sent if the
> email of the "submitter" is known (field: "email"). The value of this is
> the message broken up in to lines by a slash "/". Each slash is a new
> line in the email. The first line is used for the subject.
> [Add this:]
> You can use markers which will be replaced in the email:
> ###SUBJECT### will be replaced with the original email subject
> ###MESSAGE### will be replaced with the original email message
> 
> vg Steffen



More information about the TYPO3-team-core mailing list