Reading view

How do you use webform to create a user contact form?

I can't seem to find a clear write up on this - but I need to build a user contact form with webform, and send an email to user's email account....

A user will look at a user profile at "/user/[user-name]"

And see a link to a webform, and I want the link to be something like

"/user/contact-form?userid=123"

Or "/user/contact-form/123" and have the email handler on the webform be able to look up user id 123's email address, to send to...

Is there a token syntax I can use in the "TO" field in the email handler?

or... how would you do it?

Thanks!

submitted by /u/alphex
[link] [comments]
  •  
❌