I get the following error when attempting email notifications using smtp.
Expected response code 354 but got code "503", with message "503 5.5.2 Need rcpt command [BN8NAM11FT017.eop-nam11.prod.protection.outlook.com] "
(1/1) Swift_TransportException
Expected response code 354 but got code "503", with message "503 5.5.2 Need rcpt command [BN8NAM11FT017.eop-nam11.prod.protection.outlook.com]
"
in AbstractSmtpTransport.php line 457
at Swift_Transport_AbstractSmtpTransport->assertResponseCode('503 5.5.2 Need rcpt command [BN8NAM11FT017.eop-nam11.prod.protection.outlook.com] ', array(354))
in AbstractSmtpTransport.php line 341
at Swift_Transport_AbstractSmtpTransport->executeCommand('DATA ', array(354), array('mynumber@tmomail.net'), false, null)
in EsmtpTransport.php line 305
at Swift_Transport_EsmtpTransport->executeCommand('DATA ', array(354), array('mynumber@tmomail.net'))
in AbstractSmtpTransport.php line 390
at Swift_Transport_AbstractSmtpTransport->doDataCommand(array('mynumber@tmomail.net'))
in AbstractSmtpTransport.php line 497
at Swift_Transport_AbstractSmtpTransport->doMailTransaction(object(Swift_Message), 'roydean@ardee.com', array('mynumber@tmomail.net'), array('mynumber@tmomail.net'))
in AbstractSmtpTransport.php line 516
at Swift_Transport_AbstractSmtpTransport->sendTo(object(Swift_Message), 'roydean@ardee.com', array('mynumber@tmomail.net' => 'Mark LEIGHTON'), array('mynumber@tmomail.net'))
in AbstractSmtpTransport.php line 206
at Swift_Transport_AbstractSmtpTransport->send(object(Swift_Message), array('mynumber@tmomail.net'))
in Mailer.php line 71
at Swift_Mailer->send(object(Swift_Message), array('mynumber@tmomail.net'))
in Mailer.php line 488
at Mailer->sendSwiftMessage(object(Swift_Message))
in Mailer.php line 115
at Mailer->send('admin::_mail.order_update', array('order_number' => 20230, 'order_id' => 20230, 'first_name' => 'Mark', 'last_name' => 'LEIGHTON', 'customer_name' => 'Mark LEIGHTON', 'email' => 'mynumber@tmomail.net', 'telephone' => 'mynumber', 'order_comment' => '', 'order_type' => 'Pick-up', 'order_time' => '04:23 PM', 'order_date' => '26 Sep 2020', 'order_added' => '26 Sep 2020', 'invoice_id' => 'INV-2020-0020230', 'invoice_number' => 'INV-2020-0020230', 'invoice_date' => '26 Sep 2020', 'order_payment' => 'Pay when picked up', 'order_menus' => array(array('menu_name' => 'Ribs - $3-$30', 'menu_quantity' => 1, 'menu_price' => '$0.00', 'menu_subtotal' => '$30.00', 'menu_options' => '1 x Whole rack (12-13 ribs) $30.00 = $30.00<br /> 1 x Jalapeños = $0.00<br /> 1 x Pickles = $0.00<br /> 1 x Onions = $0.00<br /> 1 x Sauce on side = $0.00', 'menu_comment' => '')), 'order_totals' => array(array('order_total_title' => 'Sub Total', 'order_total_value' => '$30.00', 'priority' => 0), array('order_total_title' => 'VAT [8.25% included]', 'order_total_value' => '$2.48', 'priority' => 3), array('order_total_title' => 'Order Total', 'order_total_value' => '$30.00', 'priority' => 127)), 'order_address' => 'This is a pick-up order', 'location_name' => 'RDQ @ Walking Stick Wed,Thu,Sat', 'location_email' => 'roydean@ardee.com', 'location_address' => '961 Wakefield<br />Houston 77018<br />TX<br />United States', 'status_name' => 'Ready for pickup', 'status_comment' => 'Your order is ready for you to pick up.', 'order_view_url' => 'https://ardee.com/account/order/f98629ee6d6608e3224d373090146203', 'message' => object(Message)), object(Closure))
in Mailable.php line 159
at Mailable->Illuminate\Mail\{closure}()
in Localizable.php line 19
at Mailable->withLocale(null, object(Closure))
in Mailable.php line 160
at Mailable->send(object(Mailer))
in SendQueuedMailable.php line 52
at SendQueuedMailable->handle(object(Mailer))
at call_user_func_array(array(object(SendQueuedMailable), 'handle'), array(object(Mailer)))
in BoundMethod.php line 32
at BoundMethod::Illuminate\Container\{closure}()
in Util.php line 37
at Util::unwrapIfClosure(object(Closure))
in BoundMethod.php line 90
at BoundMethod::callBoundMethod(object(Application), array(object(SendQueuedMailable), 'handle'), object(Closure))
in BoundMethod.php line 34
at BoundMethod::call(object(Application), array(object(SendQueuedMailable), 'handle'), array(), null)
in Container.php line 590
at Container->call(array(object(SendQueuedMailable), 'handle'))
in Dispatcher.php line 94
at Dispatcher->Illuminate\Bus\{closure}(object(SendQueuedMailable))
in Pipeline.php line 130
at Pipeline->Illuminate\Pipeline\{closure}(object(SendQueuedMailable))
in Pipeline.php line 105
at Pipeline->then(object(Closure))
in Dispatcher.php line 98
at Dispatcher->dispatchNow(object(SendQueuedMailable), false)
in CallQueuedHandler.php line 83
at CallQueuedHandler->Illuminate\Queue\{closure}(object(SendQueuedMailable))
in Pipeline.php line 130
at Pipeline->Illuminate\Pipeline\{closure}(object(SendQueuedMailable))
in Pipeline.php line 105
at Pipeline->then(object(Closure))
in CallQueuedHandler.php line 85
at CallQueuedHandler->dispatchThroughMiddleware(object(SyncJob), object(SendQueuedMailable))
in CallQueuedHandler.php line 59
at CallQueuedHandler->call(object(SyncJob), array('commandName' => 'Illuminate\\Mail\\SendQueuedMailable', 'command' => 'O:34:"Illuminate\\Mail\\SendQueuedMailable":3:{s:8:"mailable";O:26:"October\\Rain\\Mail\\Mailable":23:{s:6:"locale";N;s:4:"from";a:0:{}s:2:"to";a:1:{i:0;a:2:{s:4:"name";s:13:"Mark LEIGHTON";s:7:"address";s:22:"mynumber@tmomail.net";}}s:2:"cc";a:0:{}s:3:"bcc";a:0:{}s:7:"replyTo";a:0:{}s:7:"subject";N;s:11:"' . "\0" . '*' . "\0" . 'markdown";N;s:7:"' . "\0" . '*' . "\0" . 'html";N;s:4:"view";s:25:"admin::_mail.order_update";s:8:"textView";N;s:8:"viewData";a:25:{s:12:"order_number";i:20230;s:8:"order_id";i:20230;s:10:"first_name";s:4:"Mark";s:9:"last_name";s:8:"LEIGHTON";s:13:"customer_name";s:13:"Mark LEIGHTON";s:5:"email";s:22:"mynumber@tmomail.net";s:9:"telephone";s:10:"mynumber";s:13:"order_comment";s:0:"";s:10:"order_type";s:7:"Pick-up";s:10:"order_time";s:8:"04:23 PM";s:10:"order_date";s:11:"26 Sep 2020";s:11:"order_added";s:11:"26 Sep 2020";s:10:"invoice_id";s:16:"INV-2020-0020230";s:14:"invoice_number";s:16:"INV-2020-0020230";s:12:"invoice_date";s:11:"26 Sep 2020";s:13:"order_payment";s:18:"Pay when picked up";s:11:"order_menus";a:1:{i:0;a:6:{s:9:"menu_name";s:13:"Ribs - $3-$30";s:13:"menu_quantity";i:1;s:10:"menu_price";s:5:"$0.00";s:13:"menu_subtotal";s:6:"$30.00";s:12:"menu_options";s:210:"1 x Whole rack (12-13 ribs) $30.00 = $30.00<br /> 1 x Jalapeños = $0.00<br /> 1 x Pickles = $0.00<br /> 1 x Onions = $0.00<br /> 1 x Sauce on side = $0.00";s:12:"menu_comment";s:0:"";}}s:12:"order_totals";a:3:{i:0;a:3:{s:17:"order_total_title";s:9:"Sub Total";s:17:"order_total_value";s:6:"$30.00";s:8:"priority";i:0;}i:1;a:3:{s:17:"order_total_title";s:20:"VAT [8.25% included]";s:17:"order_total_value";s:5:"$2.48";s:8:"priority";i:3;}i:2;a:3:{s:17:"order_total_title";s:11:"Order Total";s:17:"order_total_value";s:6:"$30.00";s:8:"priority";i:127;}}s:13:"order_address";s:23:"This is a pick-up order";s:13:"location_name";s:31:"RDQ @ Walking Stick Wed,Thu,Sat";s:14:"location_email";s:17:"roydean@ardee.com";s:16:"location_address";s:59:"961 Wakefield<br />Houston 77018<br />TX<br />United States";s:11:"status_name";s:16:"Ready for pickup";s:14:"status_comment";s:39:"Your order is ready for you to pick up.";s:14:"order_view_url";s:64:"https://ardee.com/account/order/f98629ee6d6608e3224d373090146203";}s:11:"attachments";a:0:{}s:14:"rawAttachments";a:0:{}s:15:"diskAttachments";a:0:{}s:9:"callbacks";a:0:{}s:10:"connection";N;s:5:"queue";N;s:15:"chainConnection";N;s:10:"chainQueue";N;s:5:"delay";N;s:10:"middleware";a:0:{}s:7:"chained";a:0:{}}s:5:"tries";N;s:7:"timeout";N;}'))
in Job.php line 88
at Job->fire()
in SyncQueue.php line 45
at SyncQueue->push(object(SendQueuedMailable), '', null)
in Queue.php line 44
at Queue->pushOn(null, object(SendQueuedMailable))
in Mailable.php line 180
at Mailable->queue(object(QueueManager))
in Mailer.php line 390
at Mailer->queue(object(Mailable), null)
in Mailer.php line 204
at Mailer->queue('admin::_mail.order_update', array('order_number' => 20230, 'order_id' => 20230, 'first_name' => 'Mark', 'last_name' => 'LEIGHTON', 'customer_name' => 'Mark LEIGHTON', 'email' => 'mynumber@tmomail.net', 'telephone' => 'mynumber', 'order_comment' => '', 'order_type' => 'Pick-up', 'order_time' => '04:23 PM', 'order_date' => '26 Sep 2020', 'order_added' => '26 Sep 2020', 'invoice_id' => 'INV-2020-0020230', 'invoice_number' => 'INV-2020-0020230', 'invoice_date' => '26 Sep 2020', 'order_payment' => 'Pay when picked up', 'order_menus' => array(array('menu_name' => 'Ribs - $3-$30', 'menu_quantity' => 1, 'menu_price' => '$0.00', 'menu_subtotal' => '$30.00', 'menu_options' => '1 x Whole rack (12-13 ribs) $30.00 = $30.00<br /> 1 x Jalapeños = $0.00<br /> 1 x Pickles = $0.00<br /> 1 x Onions = $0.00<br /> 1 x Sauce on side = $0.00', 'menu_comment' => '')), 'order_totals' => array(array('order_total_title' => 'Sub Total', 'order_total_value' => '$30.00', 'priority' => 0), array('order_total_title' => 'VAT [8.25% included]', 'order_total_value' => '$2.48', 'priority' => 3), array('order_total_title' => 'Order Total', 'order_total_value' => '$30.00', 'priority' => 127)), 'order_address' => 'This is a pick-up order', 'location_name' => 'RDQ @ Walking Stick Wed,Thu,Sat', 'location_email' => 'roydean@ardee.com', 'location_address' => '961 Wakefield<br />Houston 77018<br />TX<br />United States', 'status_name' => 'Ready for pickup', 'status_comment' => 'Your order is ready for you to pick up.', 'order_view_url' => 'https://ardee.com/account/order/f98629ee6d6608e3224d373090146203'), object(Closure))
in Facade.php line 261
at Facade::__callStatic('queue', array('admin::_mail.order_update', array('order_number' => 20230, 'order_id' => 20230, 'first_name' => 'Mark', 'last_name' => 'LEIGHTON', 'customer_name' => 'Mark LEIGHTON', 'email' => 'mynumber@tmomail.net', 'telephone' => 'mynumber', 'order_comment' => '', 'order_type' => 'Pick-up', 'order_time' => '04:23 PM', 'order_date' => '26 Sep 2020', 'order_added' => '26 Sep 2020', 'invoice_id' => 'INV-2020-0020230', 'invoice_number' => 'INV-2020-0020230', 'invoice_date' => '26 Sep 2020', 'order_payment' => 'Pay when picked up', 'order_menus' => array(array('menu_name' => 'Ribs - $3-$30', 'menu_quantity' => 1, 'menu_price' => '$0.00', 'menu_subtotal' => '$30.00', 'menu_options' => '1 x Whole rack (12-13 ribs) $30.00 = $30.00<br /> 1 x Jalapeños = $0.00<br /> 1 x Pickles = $0.00<br /> 1 x Onions = $0.00<br /> 1 x Sauce on side = $0.00', 'menu_comment' => '')), 'order_totals' => array(array('order_total_title' => 'Sub Total', 'order_total_value' => '$30.00', 'priority' => 0), array('order_total_title' => 'VAT [8.25% included]', 'order_total_value' => '$2.48', 'priority' => 3), array('order_total_title' => 'Order Total', 'order_total_value' => '$30.00', 'priority' => 127)), 'order_address' => 'This is a pick-up order', 'location_name' => 'RDQ @ Walking Stick Wed,Thu,Sat', 'location_email' => 'roydean@ardee.com', 'location_address' => '961 Wakefield<br />Houston 77018<br />TX<br />United States', 'status_name' => 'Ready for pickup', 'status_comment' => 'Your order is ready for you to pick up.', 'order_view_url' => 'https://ardee.com/account/order/f98629ee6d6608e3224d373090146203'), object(Closure)))
in SendsMailTemplate.php line 26
at Orders_model->mailSend('admin::_mail.order_update', 'customer')
in Summary.php line 85
at Summary->index('index')
at call_user_func_array(array(object(Summary), 'index'), array('index'))
in AdminController.php line 206
at AdminController->execPageAction('index', array('index'))
in AdminController.php line 172
at AdminController->remap('index', array())
in Controller.php line 111
at Controller->runAdmin('thoughtco/kitchendisplay/summary')
at call_user_func_array(array(object(Controller), 'runAdmin'), array('slug' => 'thoughtco/kitchendisplay/summary'))
in Controller.php line 54
at Controller->callAction('runAdmin', array('slug' => 'thoughtco/kitchendisplay/summary'))
in ControllerDispatcher.php line 45
at ControllerDispatcher->dispatch(object(Route), object(Controller), 'runAdmin')
in Route.php line 219
at Route->runController()
in Route.php line 176
at Route->run()
in Router.php line 681
at Router->Illuminate\Routing\{closure}(object(Request))
in Pipeline.php line 130
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in VerifyCsrfToken.php line 77
at VerifyCsrfToken->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in CurrencyMiddleware.php line 33
at CurrencyMiddleware->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in LogUserLastSeen.php line 26
at LogUserLastSeen->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Localization.php line 40
at Localization->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in SubstituteBindings.php line 41
at SubstituteBindings->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in ShareErrorsFromSession.php line 49
at ShareErrorsFromSession->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in StartSession.php line 56
at StartSession->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in AddQueuedCookiesToResponse.php line 37
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in EncryptCookies.php line 67
at EncryptCookies->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php line 105
at Pipeline->then(object(Closure))
in Router.php line 683
at Router->runRouteWithinStack(object(Route), object(Request))
in Router.php line 658
at Router->runRoute(object(Request), object(Route))
in Router.php line 624
at Router->dispatchToRoute(object(Request))
in CoreRouter.php line 20
at CoreRouter->dispatch(object(Request))
in Kernel.php line 170
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
in Pipeline.php line 130
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in SaveSetting.php line 27
at SaveSetting->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TrustProxies.php line 57
at TrustProxies->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in TransformsRequest.php line 21
at TransformsRequest->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in ValidatePostSize.php line 27
at ValidatePostSize->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in CheckForMaintenanceMode.php line 63
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
in Pipeline.php line 171
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
in Pipeline.php line 105
at Pipeline->then(object(Closure))
in Kernel.php line 145
at Kernel->sendRequestThroughRouter(object(Request))
in Kernel.php line 110
at Kernel->handle(object(Request))
in index.php line 53