We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19880
    • 54 Posts
    hm, hm/
    seems, i’m not so strong ( but if you show an example, how should we replace this placeholder with some string variable, - i’d appreciate and sure could perform all the process.

    So, we have some $name.
    What’s the code to put it instead of the [+name+] variable?

    Thank you!
      • 4310
      • 2,310 Posts
      This is untested and it’s a long time since I hacked the EasyNewsletter code.
      Backup your backend.php file first wink
      In backend.php find each instance of :
      while($i < $num){
      $mail = new PHPMailer();

      Then replace with :
      while($i < $num){
      $newsletter_newsletter = str_replace('[+fullname+]', mysql_result($result,$i,"fullname"), $newsletter_newsletter;);
      $mail = new PHPMailer();

      In your newsletter template add the placeholder [+fullname+].
      Test it and find it probably doesn’t work sad