Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi.
I can´t get the module work.
I made a view of users,
Format: Views contact form > Mapping: Email
Field: User:Email > Link to Email
Contextual filters: User ID (Uid) > Provide default value: User ID from URL
… display in a block in the sidebar.
I also added a field "User name" (just to see the link), and the link to the user is working, but it will send no mails.
I guess, Mark had a similar problem… Does anyone got this working?
Thanks!
Comments
Comment #1
sibany CreditAttribution: sibany commentedHey am having the same problem with it, placing the form on contents made by auth
" in some servers you need to add SMTP module to get it to work"
although in my case it didn't work , am running on detected server...
block in the view for users, by content id
Format: Views contact form > Mapping: Email
Field: (author)User:Email > contact form
Relationships: author:content
Contextual filters: content (NID) > Provide default value: User ID from URL + (checked) Also look for a node and use the node author
cant seem to work...
Comment #2
PolUnable to reproduce the problem guys... can't help :(
Screenshot: https://docs.google.com/file/d/0B7ugUjBv1lqHWFUyd3hlVEJqMU0/edit?usp=dri...
Comment #3
stixer CreditAttribution: stixer commentedThe problem seems to be somhow with the user Email.
I got this working by adding a new field "contact Email". With this field inside the profile it works fine.
Anyway this may be the better way, so the Email the user is registered in the system is not used for any site actions. Security wise …
Comment #4
PolThis is interesting, I will investigate.
Thanks !
Comment #5
PolHello,
I made some changes in the modules these last days.
Could you please update to dev version and reopen this thread if still relevant ?
Thanks.