Menu
Welcome, Guest
Username: Password: Remember me

TOPIC: Campaign - Variables in Email Template are blank in email received 7.11.1 & 7.11.2

Campaign - Variables in Email Template are blank in email received 7.11.1 & 7.11.2 5 months 2 weeks ago #78737

  • aureh12
  • aureh12's Avatar
  • Offline
  • Junior Member
  • Posts: 31
  • Karma: 0
Hello,

Can you please tell me if you have the same problem ?

Sending tests emails to targets and leads, all the variables I tried are empty/blank in the emails received.
They should be replaced by the values. There is no error in any log or on the front.

Campaign type: Email & Newsletter
Variables tested: $contact_full_name , $contact_first_name , $contact_last_name , $contact_name

Is it working for you ?

Aure
Last Edit: 5 months 2 weeks ago by aureh12.
The administrator has disabled public write access.

Campaign - Variables in Email Template are blank in email received 7.11.1 & 7.11.2 5 months 2 weeks ago #78738

  • aureh12
  • aureh12's Avatar
  • Offline
  • Junior Member
  • Posts: 31
  • Karma: 0
By the way, I just found out that in CAMPAIGN Wizard, the only option in the drop-down is Contact/Lead/Target, whereas if I create an Email Template in the Email Templates module, the drop-down contains all the modules in SuiteCRM.

I just tried to copy some variable names ($prospect_first_name) in the Campaign Email and then my prospects receive emails with their names, but not leads.

Does it mean that:
- Campaign Email only works with Contacts by default ? Only can choose contacts variables ($contact_full_name , $contact_first_name , $contact_last_name) ?
- If I want to have variables for Leads and Targets, I should write manually something like this: "Hello $prospect_first_name,$lead_first_name,$contact_first_name" ?

Please let me know if all this is normal ? Thanks a lot
The administrator has disabled public write access.

Campaign - Variables in Email Template are blank in email received 7.11.1 & 7.11.2 5 months 2 weeks ago #78739

  • aureh12
  • aureh12's Avatar
  • Offline
  • Junior Member
  • Posts: 31
  • Karma: 0
I confirm that after changing the logs to WARNING I can see:

[WARN] Variable $contact_name parsed to an empty string, because attribute name is not set in Lead bean
[WARN] Variable $contact_first_name parsed to an empty string, because attribute first_name is not set in Lead bean
[WARN] Variable $contact_name parsed to an empty string, because attribute name is not set in Prospect bean
[WARN] Variable $contact_first_name parsed to an empty string, because attribute first_name is not set in Prospect bean

Why the option in the drop-down is called "Contact/Lead/Target" if it only works with Contacts ?
Is it a bug ?
Is it working for you ?
The administrator has disabled public write access.

Campaign - Variables in Email Template are blank in email received 7.11.1 & 7.11.2 5 months 1 week ago #78946

  • stephenmchugh
  • stephenmchugh's Avatar
  • Offline
  • Senior Member
  • Posts: 67
  • Thank you received: 6
  • Karma: 0
@aureh12, yes, this is a bug and the developers have it as an open issue on Github. More detail here:

suitecrm.com/suitecrm/forum/suitecrm-7-0...mail-templates#78931
The administrator has disabled public write access.

Campaign - Variables in Email Template are blank in email received 7.11.1 & 7.11.2 4 months 2 weeks ago #80152

  • stephenmchugh
  • stephenmchugh's Avatar
  • Offline
  • Senior Member
  • Posts: 67
  • Thank you received: 6
  • Karma: 0
BTW, I just noticed that variables work for CONTACTS but don't work for LEADS and TARGETS (v7.11.3)
The administrator has disabled public write access.

Campaign - Variables in Email Template are blank in email received 7.11.1 & 7.11.2 4 months 1 week ago #82091

  • stephenmchugh
  • stephenmchugh's Avatar
  • Offline
  • Senior Member
  • Posts: 67
  • Thank you received: 6
  • Karma: 0
The administrator has disabled public write access.
Time to create page: 0.043 seconds
Powered by Kunena Forum