Mailform with localization ignores the email-address of the translated record
If you've a FORM with different languages and different recipients (every language a other recipient) the FORM send's the mail always to the e-mail address which was entered in default language.
(issue imported from #M5104)
Updated by Michael Stucki over 14 years ago
@Ferdinand Smith: I acknowledge your solution which seems pretty nice and also works well. However, it is difficult to change the currentRecord since it is not defined whether it should contain the original or the translated record uid. It is likely that your fix would cause breakage at some place.
Instead I have uploaded another patch which fixes the issue without touching $this->currentRecord.