0

I want to create an 'Email to friend' form where the user enters an email address, and an email is sent to that address with a link to the current page url.

How do I set the receiver to be the email entered into the form?

plugin.tx_powermail.settings.setup.receiver.overwrite.email = TEXT
plugin.tx_powermail.settings.setup.receiver.overwrite.email.data = myemailfield??
user500665
  • 1,220
  • 1
  • 12
  • 38

1 Answers1

2

.data = GP:tx_powermail_pi1|field|markername But beware that your system can send emails to any email address that a user wants. Someone could use it for spaming with a "tipafriend" function.

Alex Kellner
  • 1,263
  • 6
  • 11