Hello, kratib. Thank you for very helpful module.

I would like to send, say, *mass tokenized emails to cck emailfield addresses list, created by Views * with your module. Hope this long sentence explains my task.

So far i was able to extend list of supported actions by adding *system* and *user* action types in array at line 100 of views_bulk_operations.views.inc

 foreach (array('node', 'workflow', 'email') as $type) {

After that email actions became avaliable. Then I created list of emails (taken from cck emailfield), select *send tokenized email* as bulk action, and use [field_email-formatted] as email address. Idea was to send emails to all or selected users from list. But it fails with many errors in logs. One error probably comes because tokens was not supported (I saw drupal tries to send email to [field_email-formatted] rather than real email address). Another errors was CCK - related, like *Invalid argument supplied for foreach() in /home/domain/public_html/sites/all/modules/cck/content.module on line 1078*.

So, the question is: can views_bulk_operations be used as *mass email sender* and if *yes* than *how*?

Thank you!

CommentFileSizeAuthor
#5 avaliable-bulk-operations.png18.52 KByurg

Comments

infojunkie’s picture

Assigned: Unassigned » infojunkie

Interesting. I'll check out token support in VBO and test it against "send tokenized email". Watch this space :-)

infojunkie’s picture

Status: Active » Fixed

Fixed in latest 6.x-1.x-dev. Please try it and let me know!

yurg’s picture

Sorry to inform you, but with latest dev i can not change View style to * Bulk Operations*. *List*, *Table*, *Grid* styles works fine. I've run update.php, cron.php, Views cache was cleared. No errors in logs. It just does not save *Bulk operations* style. Mystery!

infojunkie’s picture

Did you update to Views RC3? Otherwise things won't work.

yurg’s picture

StatusFileSize
new18.52 KB

Heh, Views RC3 crashed my little poor site. While struggling with all dependent module updates, want to inform you that *email* actions is not avaliable now. I thought i was smart by extending actions type included in array

foreach (array('node', 'workflow', 'email', <em> added values>>></em> 'system', 'user') as $type) {

but this part was changed in dev version of VBO. So, now I have only *default* actions avaliable, like sticky, publish/unpublish but not *extended*, provided by Actions module.

I've attached screenshot with avaliable operations, as you can see, there is no operations comes from Actions module.

Thank you for your time and help.

infojunkie’s picture

Version: 6.x-1.0 » 6.x-1.x-dev

What are the extended actions that you refer to? In the latest dev release (which I advise you to download again because I made two updates yesterday), I include "system" actions in addition to "node" actions.

yurg’s picture

Finally latest *6.x-1.x-dev 2008-Sep-27* was tested. Bulk emailing works like a charm.
You're kind sorcerer, thank a lot!

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

I'm trying to send email from the current user, but the VBO+tokenized email jus send from site_admin email. Any help?