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

Comments

somebodysysop’s picture

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

I don't understand what you mean by "user reference". Could you explain this a bit more/

-if I use a mail and name that the views mail get correctly(like node author vars...) he don`t send even in testmode...

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.

kawazs’s picture

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:

<?php
/**
* @file
* Mail to a group as selected by a views view
*
* @todo
*
* - set up userreference and nodereference fields to use the name and email of the userreference and nodereference uid

I will try make something about this, and send you a patch if all gets ok....

somebodysysop’s picture

I will try make something about this, and send you a patch if all gets ok....

Yes, please do. Thanks!

somebodysysop’s picture

Status: Active » Postponed (maintainer needs more info)

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

somebodysysop’s picture

Status: Postponed (maintainer needs more info) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.