1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/mail/squirrelmail-devel/files/patch-class-deliver-Deliver_SMTP.class.php
Rong-En Fan 32d1173dbc - Fix error while reading an already read mail which is caused by
incorrect constant passed to preg_split()
- Correct recipient address in return receipt

These are submitted to upstream, too.

PR:		ports/108519, ports/108521
Submitted by:	Cristian KLEIN <cristi at net.utcluj.ro>
Approved by:	maintainer timeout (7 weeks)
2007-03-20 14:53:03 +00:00

13 lines
437 B
PHP

--- class/deliver/Deliver_SMTP.class.php.orig Sat Jan 28 21:24:07 2006
+++ class/deliver/Deliver_SMTP.class.php Mon Nov 13 16:26:14 2006
@@ -69,7 +69,7 @@
$this->authPop($host, '', $user, $pass);
}
- $rfc822_header = $message->rfc822_header;
+ $rfc822_header = unserialize(serialize($message->rfc822_header));
$from = $rfc822_header->from[0];
$to = $rfc822_header->to;