Views mail don't sending and getting wrong variables
| Project: | Views Mail |
| Version: | 5.x-1.1 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | critical |
| Assigned: | kawazs |
| Status: | fixed |
Jump to:
Hi,
I'm using drupal 5.3, cck 1.6, views 1.6, views mail 1.1, simplenews 1.1, mime mail 1.x , Actions 1.x, scheduled actions 1.x....
Two problems:
-if I use user reference as name and mail, the views mail get the uid as name and mail...
something like user: foo mail: foo@bar.com uid:5, in recipient list appear name:5 mail:5
-if I use a mail and name that the views mail get correctly(like node author vars...) he don`t send even in testmode...
That are a bug with fieldgroup (u already know the foreach bug) but i believe it`s not a serious bug.
The simplenews is working perfectly...
I need it working fast so... if u can't find the bug and have a little time for waste talk to me a combination of versions that the module work well.
Thanks!!

#1
I don't understand what you mean by "user reference". Could you explain this a bit more/
This happens to me all the time.
In each user's account (to whom you wish to send an email), the "Group e-mail settings" must have "Accept email" checked. This is a default opt-in mechanism. If you have a bunch of users who already existed in your database before you installed views_mail, you'll need to have this variable checked on for all of them.
Hope this helps.
#2
Thanks for the atention!
But about user reference...
I was taking a look in the views mail code and the top of todo list it's exactly what I mean with user reference:
I will try make something about this, and send you a patch if all gets ok....
#3
Yes, please do. Thanks!
#4
I am now able to use the module without nodereference or userreference. Just using usernode in my particular case works. See updated patch:
http://drupal.org/files/issues/views_mail.module.5.x-2.0a.patch
#5