Unread criteria, iframe reload issue, attachment issue and replace example email with username

This commit is contained in:
Vijay Sebastian
2016-11-02 18:45:09 +05:30
parent dbb118b004
commit 0bc1e99fab
6 changed files with 69 additions and 129 deletions

View File

@@ -252,12 +252,10 @@ class EmailsController extends Controller
$this->emailService($driver, $service_request);
$this->setMailConfig($driver, $username, $name, $password, $enc, $host, $port);
$controller = new \App\Http\Controllers\Common\PhpMailController();
$to = 'example@ladybirdweb.com';
$toname = 'test';
$subject = 'test';
$data = 'test';
//dd(\Config::get('mail'),\Config::get('services'));
$send = $controller->laravelMail($to, $toname, $subject, $data, [], []);
$send = $controller->laravelMail($username, $name, $subject, $data, [], []);
return $send;
}