﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
9062,Not mailing in Windows Server,Claor,Claor,"There is a bug in the class-phpmailer.php that make impossible to send mails from Windows IIS Servers.

This bug can be solved by changing same part of the code of that file.

=========Bugged part of code=========

     /**
    * Formats an address correctly.
    * @access private
    * @return string
    */
    function AddrFormat($addr) {
    if(empty($addr[1]))
    $formatted = $addr[0];
    else
    {
    $formatted = $this->EncodeHeader($addr[1], ‘phrase’) . ” <” .
    $addr[0] . “>”;
    }

    return $formatted;
    }

=========Corrected=========


     /**
    * Formats an address correctly.
    * @access private
    * @return string
    */
    function AddrFormat($addr) {

    $formatted = $addr[0];

    return $formatted;
    }



I attached a corrected file.",defect (bug),closed,normal,2.8,Mail,2.7,minor,duplicate,class-phpmail,
