Menu
SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Email Template Insert Variable

Email Template Insert Variable 5 months 1 day ago #77809

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 10450
  • Thank you received: 1558
  • Karma: 358
You can help in the following way:

- search GitHub to see if the issue is already there

- if not, make sure you open a new issue

- make the issue template complete and accurate, that helps.

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Email Template Insert Variable 4 months 3 weeks ago #78034

  • stephenmchugh
  • stephenmchugh's Avatar
  • Offline
  • Senior Member
  • Posts: 67
  • Thank you received: 6
  • Karma: 0
In my case, I think there were two different issues. The first issue, outgoing email, is now fixed thanks to Markku on Github (see other thread)

However, even with a clean 7.11.1 installation and shiny new inbound and outbound accounts (as per previous suggestions) campaign email variables are still broken, i.e. the $contact_first_name variable is not populated in the campaign email.

Log still reports this:
---
Tue Feb 19 11:51:03 2019 [1386][1][ERROR] Unable to find relationship emails_email_templates
Tue Feb 19 11:51:03 2019 [1386][1][ERROR] Saving Email with invalid From name and/or Address. Details:
From field is not set.
From-name is not set.
From name is not set.
codes:1, 7, 10


I'm assuming 7.11.2 may provide a fix. I'll let you know either way.

Thanks
The administrator has disabled public write access.

Email Template Insert Variable 4 months 3 weeks ago #78093

  • pgr
  • pgr's Avatar
  • Offline
  • Administrator
  • Posts: 10450
  • Thank you received: 1558
  • Karma: 358
I don't think 7.11.2 will include any such fix. As I wrote above, if it isn't an open issue on Github, it won't be visible to developers and no one will work on it...

About the email issue, I have seen your comments on GitHub but I don't understand what is being fixed by that reinstall. Is it PHP 5 components? Is that what was causing the bug?

My SuiteCRM In-depth blog.
Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.

Email Template Insert Variable 4 months 3 weeks ago #78225

  • stephenmchugh
  • stephenmchugh's Avatar
  • Offline
  • Senior Member
  • Posts: 67
  • Thank you received: 6
  • Karma: 0
You're right, it didn't fix. Email problems persist. It might be one or multiple issues. All I know for sure is that Email variables worked in 7.10.7 and stopped working in 7.11

I will try to add to Github soon.

If I send an email directly, using a test template, the receiver gets an email with "Dear $contact_first_name," (I've read this on other threads)

If I send a campaign email (using the same test template) the receiver gets an email just a blank "Dear ,"

So is that the same problem or two different problems? I have no idea.

This error in the log MAY or MAY NOT be related. I set the log to debug and this is where it seems to go fubar..... (but there are too many other entries to be sure for certain):

Thu Feb 21 15:24:55 2019 [12015][1][ERROR] Saving Email with invalid From name and/or Address. Details:
From field is not set.
From-name is not set.
From address and name pair is empty.
codes:1, 7, 14
Thu Feb 21 15:24:55 2019 [12015][1][ERROR] Unable to find relationship emails_email_templates
Thu Feb 21 15:24:55 2019 [12015][1][ERROR] Unable to find relationship emails_email_templates
Thu Feb 21 15:24:55 2019 [12015][1][ERROR] Unable to find relationship emails_email_templates
Thu Feb 21 15:24:55 2019 [12015][1][ERROR] Invalid email from address or name detected before sending. Details:
From field is not set.
From-name is not set.
From address and name pair is empty.
codes:1, 7, 14

Thu Feb 21 15:24:57 2019 [12015][1][ERROR] Saving Email with invalid From name and/or Address. Details:
From field is not set.
From address is not set.
From-name is not set.
From name is not set.
From address and name pair is empty.
codes:1, 4, 7, 10, 14
Thu Feb 21 15:24:57 2019 [12015][1][ERROR] Unable to find relationship emails_email_templates
Thu Feb 21 15:24:57 2019 [12015][1][ERROR] Saving Email with invalid From name and/or Address. Details:
From field is not set.
From address is not set.
From-name is not set.
From name is not set.
From address and name pair is empty.
codes:1, 4, 7, 10, 14
Thu Feb 21 15:24:57 2019 [12015][1][ERROR] Unable to find relationship emails_email_templates
Thu Feb 21 15:24:57 2019 [12015][1][ERROR] fromUser: Conversion of from user format Y-m-d H:i failed
Thu Feb 21 15:24:57 2019 [12015][1][ERROR] Saving Email with invalid From name and/or Address. Details:
From field is not set.
From-name is not set.
From address and name pair is empty.
codes:1, 7, 14
Thu Feb 21 15:24:57 2019 [12015][1][ERROR] Unable to find relationship emails_email_templates
Thu Feb 21 15:24:57 2019 [12015][1][ERROR] Unable to find relationship emails_email_templates
Thu Feb 21 15:24:57 2019 [12015][1][ERROR] Unable to find relationship emails_email_templates
Thu Feb 21 15:24:57 2019 [12015][1][ERROR] Array
(
[0] => Unhandled email save and store as sent error: 1
[1] => 6
)

Thu Feb 21 15:24:57 2019 [12015][1][ERROR] Array
(
[0] => Unhandled non gmail sent folder hander error: 2
[1] => 100
)
The administrator has disabled public write access.

Email Template Insert Variable 4 months 2 weeks ago #78566

  • stephenmchugh
  • stephenmchugh's Avatar
  • Offline
  • Senior Member
  • Posts: 67
  • Thank you received: 6
  • Karma: 0
@pgr, I updated the Github issue #6535 but it's currently closed. How do I make it visible to the devs and get them to reopen it?

FYI, I didn't open a new issue because it's exactly as described by pstevens71, the OP.
Last Edit: 4 months 2 weeks ago by stephenmchugh. Reason: Grammar
The administrator has disabled public write access.

Email Template Insert Variable 2 months 4 weeks ago #82092

  • stephenmchugh
  • stephenmchugh's Avatar
  • Offline
  • Senior Member
  • Posts: 67
  • Thank you received: 6
  • Karma: 0
I got Leads variables working via the workaround here.

suitecrm.com/suitecrm/forum/suitecrm-7-0...l-templates?start=15
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.043 seconds
Powered by Kunena Forum