title: How to Include Mail Footer inside Mail Body?
body: <p>In my script i have a folder /mail and i'm storing my mail text in this folder. And now i have more than 10 mail text. And i decided to create a mail footer. Because i'm copying every lines to other mail text. When i want to make change it is hard for me.</p>
  
  <p>I created a mail_footer.php</p>
  
  <pre><code>&lt;p&gt;---&lt;/p&gt;
  &lt;p&gt;Saygılarmızla,&lt;/p&gt;
  &lt;p&gt;&lt;?php echo COMPANY; ?&gt;&lt;/p&gt;
  &lt;p&gt;&lt;a href="&lt;?php echo HOST; ?&gt;"&gt;&lt;?php echo HOST; ?&gt;&lt;/a&gt; - &lt;a href="&lt;?php echo RETAIL; ?&gt;"&gt;&lt;?php echo RETAIL; ?&gt;&lt;/a&gt;&lt;/p&gt;
  &lt;p&gt;&lt;?php echo _('Tel').' : '?&gt;&lt;a href="tel:&lt;?php echo PHONE; ?&gt;"&gt;&lt;?php echo PHONE; ?&gt;&lt;/a&gt; - &lt;a href="tel:&lt;?php echo PHONE2; ?&gt;"&gt;&lt;?php echo PHONE2; ?&gt;&lt;/a&gt;&lt;/p&gt;
  &lt;p&gt;&lt;?php echo _('Adres') . " : " . ADDRESS; ?&gt;&lt;/p&gt;
  &lt;p&gt;&lt;a href="&lt;?php echo FACEBOOK; ?&gt;"&gt;&lt;?php echo FACEBOOK; ?&gt;&lt;/a&gt;&lt;/p&gt;
  &lt;p&gt;&lt;a href="&lt;?php echo TWITTER; ?&gt;"&gt;&lt;?php echo TWITTER; ?&gt;&lt;/a&gt;&lt;/p&gt;
  [[tracking_beacon]]
  </code></pre>
  
  <p>And i want to include it inside $message </p>
  
  <p>Here is an example of my $message body</p>
  
  <pre><code>$message = '&lt;html lang="tr"&gt;
      &lt;head&gt;
          &lt;meta charset="UTF-8" /&gt;
          &lt;style type="text/css"&gt;
              body {color: #333; }
              .red {color: #B20F24; font-weight: bold;}
          &lt;/style&gt;
              &lt;title&gt;Şifre Sıfırlama&lt;/title&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;p&gt;&lt;strong&gt;Sayın, '.$name.'&lt;/strong&gt;&lt;/p&gt;
  
  
          &lt;p&gt;Tarafımıza &lt;strong&gt;'.$dateObj-&gt;getLocalTime($date).'&lt;/strong&gt; tarihinde &lt;strong&gt;'.$ip.'&lt;/strong&gt; IP adresi üzerinden şifre sıfırlama talebi gelmiştir.&lt;/p&gt;
  
          &lt;p&gt;Böyle bir talebiniz olmadıysa bu e-postayı dikkate almayınız.&lt;/p&gt;
          &lt;p&gt;Eğer parolanızı unuttuysanız, lütfen aşağıdaki linke tıklayarak şifre sıfırlama sürecine gidiniz.&lt;/p&gt;
          &lt;p&gt;&lt;a href="'.$url.'"&gt;'.$url.'&lt;/a&gt;&lt;/p&gt;
  
          &lt;!-- I HAVE TO ADD MAIL FOOTER HERE --&gt; 
      &lt;/body&gt;
  &lt;/html&gt;';
  </code></pre>
  
  <p>It is ridiculous but i don't know the solution.</p>
  
  <p>include function for including scripts. I cannot use for this problem.</p>