Custom tags in subject field

imeow

Member
Greetings!

@twisted1919
Is it possible to randomize the content of subject field with custom tags?
Because somehow I cannot see that custom tags are affected in this field.
 
Last edited:

twisted1919

Administrator
Staff member
@imeow - You can use [RANDOM_CONTENT: text1 | text 2 | text ... n] but that's pretty much it.
What exactly you want to randomize ?
 

twisted1919

Administrator
Staff member
@imeow - yeah, you can use random content from that(though 60 subjects is just too high), in the limit of 500 characters for the email subject, so you can have:
Code:
[RANDOM_CONTENT: Subject 1 | Subject 2 | Subject 3 ... | Subject 50]
And mailwizz will randomize it. Just make sure you keep it under 500 chars.
 

imeow

Member
@imeow - yeah, you can use random content from that(though 60 subjects is just too high), in the limit of 500 characters for the email subject, so you can have:
Code:
[RANDOM_CONTENT: Subject 1 | Subject 2 | Subject 3 ... | Subject 50]
And mailwizz will randomize it. Just make sure you keep it under 500 chars.
What if I alter the subject field to more than 500 chars? Will it ruin something?
 

twisted1919

Administrator
Staff member
I don't think it will break something... but make sure you also edit apps/common/models/Campaign.php and in the rules() method, increase the subject length from 500, to whatever you change ;)
 
Top