user500665
user500665

Reputation: 1362

Powermail Email to friend

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??

Upvotes: 0

Views: 216

Answers (1)

Alex Kellner
Alex Kellner

Reputation: 1299

.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.

Upvotes: 2

Related Questions