Closed honda0510 closed 11 years ago
Those places are the mail headers, so not in the body. Could you be a bit more specific about the error?
$email = Email::forge();
$email->to('xxx@xxx.com');
$email->subject('subject_sample');
$email->body('body_sample');
$email->send();
Date: Sat, 29 Jun 2013 23:50:06 +0900
From: xxx@xxx.com
To: xxx@xxx.co.jp
Subject: =?UTF-8?B?c3ViamVjdF9zYW1wbGU=?=
Message-ID: <xxx@xxx.com>
X-Priority: 3 (Normal)
X-Mailer: FuelPHP, PHP 5.3 Framework
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
body_sample
I want ...
Date: Sat, 29 Jun 2013 23:50:06 +0900
From: xxx@xxx.com
To: xxx@xxx.co.jp
Subject: =?UTF-8?B?c3ViamVjdF9zYW1wbGU=?=
Message-ID: <xxx@xxx.com>
X-Priority: 3 (Normal)
X-Mailer: FuelPHP, PHP 5.3 Framework
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
body_sample
I've also confirmed 2 blank lines with smtp driver.
Hi I sent an e-mail using the FuelPHP 1.6. The body of the e-mail received has begun with a new line. I think 952 line of the driver or 82 line of the smtp is causing the problem. Thank you.