If you have a view that uses re-written results or re-written 'no results', then although the correct e-mail address is shown in the View results, the 'no results' result is NOT accepted and passed to the Views Send module and an error is reported when the e-mail is to be sent. Apparently the e-mail address is not correctly formatted, whether using the [email2_Token] or rewritten 'longhand' as "mailto:name@domain.com"
This also happens if you use 'Views' conditional to test whether an e-mail field is empty. What I am trying to do is to select and load two e-mail address fields so that if the first email_address_field [email1_token] is empty, the [email2_token] (Hidden) is used and re-written to substitute the [email_token1] address.
Whether this is tested with a conditional or by means of a simple test to re-write the field if it is found empty, the [email_token2] in the 'no result behaviour' or the conditional 'Otherwise, output this..' is not loaded or used by Views Send.
I have attached the View - the relevant view is: "District Mailing - Club Presidents Elect"
Comment | File | Size | Author |
---|---|---|---|
#3 | DGE_Mailshot_View.txt | 52.78 KB | cebab54 |
Comments
Comment #2
cebab54 CreditAttribution: cebab54 as a volunteer commentedComment #3
cebab54 CreditAttribution: cebab54 as a volunteer commentedComment #4
hansfn CreditAttribution: hansfn as a volunteer commentedThe current version of Views Send is 7.x-1.2, which I think fixes this issue. Please test and report back.
Comment #5
cebab54 CreditAttribution: cebab54 as a volunteer commentedYes it works with 7.1.2, but 7.1.2 is so much slower to load and send e-mails than 7.1.1
Comment #6
hansfn CreditAttribution: hansfn as a volunteer commentedThe only change between 7.1.1 and 7.1.2 that can effect the speed of Views Send is the fix for the problem you posted ...
Comment #7
cebab54 CreditAttribution: cebab54 as a volunteer commentedActually, I have worked out that the speed of loading is being caused by loading 'General Tokens'. When I comment out this section in the Module, the v1.2 module loads as quickly as v1.1.
I would suggest that loading general Tokens should be an option in the Configuration of Views 1.2. Particularly as I prefer not to give Users with permission to use Views Send (we call Bulk e-mail) access to these tokens anyway. The reason being that access to the General Tokens causes a potential or real 'security risk' - unless the User is an Administrator. The 'user' tokens are a particular issue, because under data protection (UK Law) the tokens contain various bits of data that are designated as 'personal'.
I can of course continue to comment out the lines that load these 'additional' tokens for the time being.
Comment #8
hansfn CreditAttribution: hansfn as a volunteer commented