Update of /cvsroot/phpbt/phpbt/inc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23647/phpbt/inc
Modified Files:
functions.php
Log Message:
Added support to set envelope sender
Index: functions.php
===================================================================
RCS file: /cvsroot/phpbt/phpbt/inc/functions.php,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- functions.php 22 Aug 2005 20:50:23 -0000 1.60
+++ functions.php 22 Aug 2005 20:54:43 -0000 1.61
@@ -618,7 +618,7 @@
}
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);
}
$retval = $mail->send($recipient, SMTP_EMAIL ? 'smtp' : 'mail');
|