| | |
| | | | | |
| | | | This file is part of the Roundcube Webmail client | |
| | | | Copyright (C) 2005-2010, The Roundcube Dev Team | |
| | | | Licensed under the GNU GPL | |
| | | | | |
| | | | Licensed under the GNU General Public License version 3 or | |
| | | | any later version with exceptions for skins & plugins. | |
| | | | See the README file for a full license statement. | |
| | | | | |
| | | | PURPOSE: | |
| | | | Provide SMTP functionality using socket connections | |
| | |
| | | $from = $addresses[0]; |
| | | |
| | | // Reject envelope From: addresses with spaces. |
| | | if (strstr($from, ' ')) |
| | | if (strpos($from, ' ') !== false) |
| | | return false; |
| | | |
| | | $lines[] = $key . ': ' . $value; |