1



Hi All,

I think i might have found a litle bug in PJ-mail, actually in class.mail.php to be exact!

While struggling with setting reply-to by $mail->addreplyto($emailaddress); i found the function in the class should be like this:

function addreplyto($replyto) {
$tmp=$this->makenameplusaddress($replyto,'');
if ( !$tmp ) { $this->error_log(" Reply-To: error"); return FALSE; }
// false: $this->returnpath = $tmp;
$this->replyto = $tmp;
return TRUE;
}

after changing this, the given emailaddress is returned to the given address when hitting reply!

cheers!
Marco