|
From: Ulf E. <ulf...@us...> - 2005-08-22 20:54:52
|
Update of /cvsroot/phpbt/phpbt In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23647/phpbt Modified Files: bug.php config-dist.php Log Message: Added support to set envelope sender Index: bug.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/bug.php,v retrieving revision 1.142 retrieving revision 1.143 diff -u -r1.142 -r1.143 --- bug.php 22 Aug 2005 20:50:23 -0000 1.142 +++ bug.php 22 Aug 2005 20:54:43 -0000 1.143 @@ -322,7 +322,7 @@ ($newbug ? 'New' : 'Changed').' - '. stripslashes((!empty($cf['title']) ? $cf['title'] : $buginfo['title']))); if (SMTP_EMAIL) { - $mail->setSMTPParams(SMTP_HOST, SMTP_PORT, SMTP_HELO, SMTP_AUTH, SMTP_AUTH_USER, SMTP_AUTH_PASS); + $mail->setSMTPParams(SMTP_HOST, SMTP_PORT, SMTP_HELO, SMTP_AUTH, SMTP_AUTH_USER, SMTP_AUTH_PASS, SMTP_SENDER); } $mail->send($maillist, SMTP_EMAIL ? 'smtp' : 'mail'); } Index: config-dist.php =================================================================== RCS file: /cvsroot/phpbt/phpbt/config-dist.php,v retrieving revision 1.33 retrieving revision 1.34 diff -u -r1.33 -r1.34 --- config-dist.php 22 Aug 2005 20:50:23 -0000 1.33 +++ config-dist.php 22 Aug 2005 20:54:43 -0000 1.34 @@ -78,5 +78,7 @@ define('SMTP_AUTH', false); define('SMTP_AUTH_USER', ""); define('SMTP_AUTH_PASS', ""); +// define('SMTP_SENDER', SMTP_AUTH_USER."@".SMTP_HELO); +define('SMTP_SENDER', null); ?> |