title: Use of mailtodisk / mailoutput in XAMPP for Linux
body: <p>Unlike in Windows, i'm having trouble to use the "mailtodisk" PHP option in Linux. Looks like it doesn't even exist.</p>
  
  <p>In "php.ini", in the mail section, there is no reference to it:</p>
  
  <pre><code>[mail function]
  ; For Win32 only.
  ; http://php.net/smtp
  SMTP=localhost
  ; http://php.net/smtp-port
  smtp_port=25
  
  ; For Win32 only.
  ; http://php.net/sendmail-from
  ;sendmail_from = me@example.com
  
  ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  ; http://php.net/sendmail-path
  ;sendmail_path =
  
  ; Force the addition of the specified parameters to be passed as extra parameters
  ; to the sendmail binary. These parameters will always replace the value of
  ; the 5th parameter to mail(), even in safe mode.
  ;mail.force_extra_parameters =
  
  ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
  mail.add_x_header=On
  
  ; Log all mail() calls including the full path of the script, line #, to address and headers
  mail.log ="/opt/lampp/logs/php_mail_log"
  
  [SQL]
  </code></pre>
  
  <p>I can't see the "Mail" link in the localhost homepage, for test the default mail form, because it's with many crashes like this one:</p>
  
  <p><code>Notice: Undefined variable: TEXT in /opt/lampp/htdocs/xampp/start.php on line 12</code></p>
  
  <p>Obs: despite this errors in the localhost homepage, i'm running projects without a problem.</p>
  
  <p>In fact, it doesn't seems to have a "Mail" link in the menu (i've searched the source code).</p>
  
  <p>I don't know if this info helps in any way, but the file "sendmail.php" uses a file that doesn't exist in my system: <code>/usr/sbin/sendmail</code>.</p>
  
  <p>The current version of XAMPP is: 1.8.3, and was recently updated.</p>
  
  <p>Is it possible to use "mailtodisk" in XAMPP for Linux? If yes, what i need to do in my situation?</p>