[TYPO3-commerce] Wrong 'Reply-To:' in adminmail

Erik Sokoll erik at t3media.de
Tue May 4 17:38:47 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Solution:
=========
If you use tx_commerce >= 0.12.2 and want to get the Reply-To address
from the FE_user you have to set:

plugin.tx_commerce_pi3 {
	adminmail {
		sendAsUser = 1
		from >
	}
}

Greetings...
Erik


Erik Sokoll schrieb:
> As a workaround I've tryed to use 'sendAsUser = 0' and to over write the
> 'from' field by the users e-mail address.
> In this examples I used the 'from_name' to get an result.
> 
> But important to say...
> THIS DOES NOT WORK!
> 
> 
>   Example 1
>   =========
> 
> [loginUser = *]
> lib.sendermail = COA_INT
> lib.sendermail {
> 	10 = TEXT
> 	10.data = TSFE:fe_user|user|username
> }
> [else]
> lib.sendermail = COA_INT
> lib.sendermail {
> 	10 = TEXT
> 	10.value = john.doe at somewhere.com
> }
> [end]
> 
> plugin.tx_commerce_pi3 {
> 	adminmail {
> 		sendAsUser = 0
> 		from =  bla at fas.el
> 		from_name < lib.sendermail
> 	}
> }
> 
>   Output 1
>   ========
> The sender name in the adminmail is COA_INT
> 
> -------------------------------------------------
> 
>   Example 2
>   =========
> 
> temp.sendermail = TEXT
> temp.sendermail.data = TSFE:fe_user|user|username
> 
> plugin.tx_commerce_pi3 {
> 	adminmail {
> 		sendAsUser = 0
> 		from =  bla at fas.el
> 		from_name < temp.sendermail
> 	}
> }
> 
>   Output 2
>   ========
> The sender name in the adminmail is TEXT
> 
> -------------------------------------------------
> 
> So my questions would be... why is it not possible to copy an element by
> '<' at this point?
> (Regardnig subparts in 'normal' TYPO3 pages both examples work fine)
> 
> 
> Greetings...
> Erik
> 
> 
> 
> Erik Sokoll schrieb:
>> Hello people,
>> if...
> 
>> plugin.tx_commerce_pi3.adminmail.sendAsUser = 1
> 
>> ...is set, the Reply-To for the adminmail is not set by the user e-mail
>> address but by the setting...
> 
>> plugin.tx_commerce_pi3.adminmail.from = schnirbel at di.schnarz
> 
> 
>> But I have to say that I still use version 0.12.2
>> Can somebody tell me if this works fine in version 0.12.3 ?
> 
> 
>> Greetings...
>> Erik
> 
> 
> 
> _______________________________________________
> TYPO3-project-commerce mailing list
> TYPO3-project-commerce at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce
> 
> 
_______________________________________________
TYPO3-project-commerce mailing list
TYPO3-project-commerce at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-commerce



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFL4D+HuogOZOO2WPQRAlPqAKDYCxK3MXaAAr8EmdqWphuyf9tQ8ACgkB6O
embyCQ7w35T+SLVO5CA7zpk=
=o5wY
-----END PGP SIGNATURE-----


More information about the TYPO3-project-commerce mailing list