Projectpier

From emboxit
Jump to: navigation, search
ProjectPier is a Free, Open-Source, PHP application for managing tasks, projects 
and  teams through an intuitive web interface. 
It must be downloaded and installed on  your own web server. 
ProjectPier will help your organization communicate, collaborate 
and get things done Its function is similar to commercial
groupware/project management products, 
but allows the freedom and scalability of self-hosting. 
Even better, it will always be free


Install to xaamp


Email

First of all, open the file [projectroot]/library/swift/lib/Swift/Stream/MailProxy.php

Go to the line 374 (into the method/function sendNativeMail), and remove the $extra var from the mail function.

Finally, your code must looks like :

<?php
    private function sendNativeMail($string)
    {
        $original_from = @ini_get('sendmail_from');
        @ini_set('sendmail_from', $this->from);
        $extra = "-oi -f ".$this->from;
        $sent = @mail(
          //implode(', ', $this->getTo($string)),
          str_replace("\n", '', implode(', ', $this->getTo($string))),
          $this->getSubject($string),
          $this->getBody($string),
          $this->getHeaders($string));
        @ini_set('sendmail_from', $original_from);
        return $sent;
    }
?>


Email from xaamp installation