SF.net SVN: postfixadmin:[567] trunk/functions.inc.php
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2009-02-16 12:40:18
|
Revision: 567 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=567&view=rev Author: GingerDog Date: 2009-02-16 12:40:15 +0000 (Mon, 16 Feb 2009) Log Message: ----------- see https://sourceforge.net/tracker/index.php?func=detail&aid=2581010&group_id=191583&atid=937964 - thanks dystopian Modified Paths: -------------- trunk/functions.inc.php Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2009-02-15 15:02:26 UTC (rev 566) +++ trunk/functions.inc.php 2009-02-16 12:40:15 UTC (rev 567) @@ -1298,7 +1298,7 @@ // smtp_mail // Action: Sends email to new account. // Call: smtp_mail (string To, string From, string Data) -// +// TODO: Replace this with something decent like PEAR::Mail or Zend_Mail. function smtp_mail ($to, $from, $data) { global $CONF; @@ -1317,6 +1317,7 @@ } else { + $res = smtp_get_response($fh); fputs ($fh, "EHLO $smtp_server\r\n"); $res = smtp_get_response($fh); fputs ($fh, "MAIL FROM:<$from>\r\n"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |