Skip to content

Commit

Permalink
bug 1595
Browse files Browse the repository at this point in the history
git-svn-id: http://piwigo.org/svn/trunk@5773 68402e56-0260-453c-a942-63ccdbb3a9ee
  • Loading branch information
grum committed Apr 10, 2010
1 parent c6fcdb5 commit 7c38deb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/class_smtp_mail.inc.php
Expand Up @@ -164,6 +164,7 @@ function mail($to, $subject, $message, $headers = '')
$this->server_write('DATA'."\r\n");
$this->server_parse('354');

$this->server_write('Date: '.date('D, j M Y H:i:s O')."\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');
Expand Down

0 comments on commit 7c38deb

Please sign in to comment.