diff options
author | rub <rub@piwigo.org> | 2009-04-26 15:03:40 +0000 |
---|---|---|
committer | rub <rub@piwigo.org> | 2009-04-26 15:03:40 +0000 |
commit | 45f95d64e6bdd3a54f04f3d45a8e36d51d3c7520 (patch) | |
tree | 72e32e821e71901978c73c19007cdad1c82e4bea | |
parent | 1bbf9a9f64b2c27009ee2bc2c39d8d4b25714c6f (diff) |
Remove " " after ":" on smtp_mail
git-svn-id: http://piwigo.org/svn/trunk@3259 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | include/class_smtp_mail.inc.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/class_smtp_mail.inc.php b/include/class_smtp_mail.inc.php index 0e8ee9779..9ace931db 100644 --- a/include/class_smtp_mail.inc.php +++ b/include/class_smtp_mail.inc.php @@ -115,12 +115,12 @@ class smtp_mail $this->server_parse('250'); } - $this->server_write('MAIL FROM: <'.$this->email_webmaster.'>'."\r\n"); + $this->server_write('MAIL FROM:<'.$this->email_webmaster.'>'."\r\n"); $this->server_parse('250'); if (preg_match('/^\s*to\s*:.*/mi', $headers) === 0) { - $to_header = 'To: '.implode(',', array_map(create_function('$email','return "<".$email.">";'), $recipients)); + $to_header = 'To:'.implode(',', array_map(create_function('$email','return "<".$email.">";'), $recipients)); } else { @@ -130,14 +130,14 @@ class smtp_mail @reset($recipients); while (list(, $email) = @each($recipients)) { - $this->server_write('RCPT TO: <'.$email.'>'."\r\n"); + $this->server_write('RCPT TO:<'.$email.'>'."\r\n"); $this->server_parse('250'); } $this->server_write('DATA'."\r\n"); $this->server_parse('354'); - $this->server_write('Subject: '.$subject."\r\n".(empty($to_header) ? "" : $to_header."\r\n").$headers."\r\n\r\n".$message."\r\n"); + $this->server_write('Subject:'.$subject."\r\n".(empty($to_header) ? "" : $to_header."\r\n").$headers."\r\n\r\n".$message."\r\n"); $this->server_write('.'."\r\n"); $this->server_parse('250'); |