Implement force sender for SMS

This commit is contained in:
Kijin Sung 2016-11-12 16:21:58 +09:00
parent 2aa4f061c5
commit 39757ea3db
2 changed files with 37 additions and 0 deletions

View file

@ -475,6 +475,11 @@ class SMS
return false;
}
if (config('sms.default_force') && config('sms.default_from'))
{
$this->setFrom(config('sms.default_from'));
}
try
{
if ($this->driver)