Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send Test Mail - Mail could not be sent - Error: undefined #7825

Closed
2 tasks done
newbridgesch opened this issue Feb 17, 2020 · 4 comments
Closed
2 tasks done

Send Test Mail - Mail could not be sent - Error: undefined #7825

newbridgesch opened this issue Feb 17, 2020 · 4 comments

Comments

@newbridgesch
Copy link

Expected Behavior (or desired behavior if a feature request)

The test email gets sent to the email address supplied in the .emv file and an EULA gets emailed to the recipient's email address.


Actual Behavior

When clicking 'Send Test' button, the window freezes and then says in red: Mail could not be sent. Error: undefined and when checking out an asset to a user - just comes up with a 'whoops something went wrong' page


Please confirm you have done the following before posting your bug report:


Provide answers to these questions:

  • Is this a fresh install or an upgrade?: No
  • Version of Snipe-IT you're running: v4.8.0 - build 4186
  • Version of PHP you're running: 7.1.29
  • Version of MySQL/MariaDB you're running: 4.8.5
  • What OS and web server you're running Snipe-IT on: Windows Server 2016 Standard & XAMPP 3.2.3
  • What method you used to install Snipe-IT (install.sh, manual installation, docker, etc): Manual Installation
  • WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error:
  • What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error: Update General Settings page, clicking on the Send Test button under the Test Mail heading.
  • If a stacktrace is provided in the error, include that too. N/A
  • Any errors that appear in your browser's error console. N/A
  • Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo. N/A
  • Include any additional information you can find in storage/logs and your webserver's logs.
    'Storage/Logs':
    [2020-02-17 09:04:25] production.ERROR: Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    ) {"userId":69,"exception":"[object] (Swift_TransportException(code: 0): Connection could not be established with host smtp.gmail.com :stream_socket_client(): unable to connect to tcp://smtp.gmail.com:587 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    ) at C:\xampp\htdocs\snipe-it\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\StreamBuffer.php:269)
    [stacktrace]
    #0 [internal function]: Swift_Transport_StreamBuffer->{closure}(2, 'stream_socket_c...', 'C:\\xampp\\htdocs...', 272, Array)
    Fix depreciation math #1 C:\xampp\htdocs\snipe-it\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\StreamBuffer.php(272): stream_socket_client('tcp://smtp.gmai...', 10060, 'A connection at...', 30, 4, Resource id QRCode Errors in v1.2.6.1 #667)
    Ability for admin to check out an asset to a user #2 C:\xampp\htdocs\snipe-it\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\StreamBuffer.php(58): Swift_Transport_StreamBuffer->establishSocketConnection()
    Add reports - depreciation, people with no assets, etc #3 C:\xampp\htdocs\snipe-it\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Transport\AbstractSmtpTransport.php(143): Swift_Transport_StreamBuffer->initialize(Array)
    Add category back to Models blade/controller #4 C:\xampp\htdocs\snipe-it\vendor\swiftmailer\swiftmailer\lib\classes\Swift\Mailer.php(65): Swift_Transport_AbstractSmtpTransport->start()
    Needs sexy dashboard summary #5 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Mail\Mailer.php(451): Swift_Mailer->send(Object(Swift_Message), Array)
    Disallow models/depreciations/categories to be deleted if they have assets associated #6 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Mail\Mailer.php(235): Illuminate\Mail\Mailer->sendSwiftMessage(Object(Swift_Message))
    Add location to users, propagate those to assets #7 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\Channels\MailChannel.php(64): Illuminate\Mail\Mailer->send(Object(Illuminate\Support\HtmlString), Array, Object(Closure))
    Figure out how to handle multi-seat licenses #8 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\NotificationSender.php(113): Illuminate\Notifications\Channels\MailChannel->send(Object(App\Models\Setting), Object(App\Notifications\MailTest))
    Search box isn't hooked up to anything #9 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\NotificationSender.php(89): Illuminate\Notifications\NotificationSender->sendToNotifiable(Object(App\Models\Setting), '3ec4b6e5-88a0-4...', Object(App\Notifications\MailTest), 'mail')
    Improve UI of category display to show nesting #10 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\NotificationSender.php(64): Illuminate\Notifications\NotificationSender->sendNow(Object(Illuminate\Database\Eloquent\Collection), Object(App\Notifications\MailTest))
    Build-out ACLs to set who can view which sections (reports, etc) #11 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\ChannelManager.php(35): Illuminate\Notifications\NotificationSender->send(Object(Illuminate\Database\Eloquent\Collection), Object(App\Notifications\MailTest))
    A user (non-admin) should be able to request an asset [$15] #12 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(221): Illuminate\Notifications\ChannelManager->send(Object(App\Models\Setting), Object(App\Notifications\MailTest))
    Column sorting on table displays #13 C:\xampp\htdocs\snipe-it\app\Http\Controllers\Api\SettingsController.php(136): Illuminate\Support\Facades\Facade::__callStatic('send', Array)
    Add "clone" option in edit screen for assets #14 [internal function]: App\Http\Controllers\Api\SettingsController->ajaxTestEmail()
    Option to mark assets as requestable. #15 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(54): call_user_func_array(Array, Array)
    Child assets linked to parent assets (HDD, replacement parts, etc) [$100] #16 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction('ajaxTestEmail', Array)
    Add warrantee field to assets/models #17 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Route.php(212): Illuminate\Routing\ControllerDispatcher->dispatch(Object(Illuminate\Routing\Route), Object(App\Http\Controllers\Api\SettingsController), 'ajaxTestEmail')
    Move validation out of the controllers and into the models where it belongs #18 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Route.php(169): Illuminate\Routing\Route->runController()
    Seed database with models, manufacturers, categories, etc. #19 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Router.php(658): Illuminate\Routing\Route->run()
    Import functions for users, assets, models, etc #20 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(30): Illuminate\Routing\Router->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Merge licenses table into assets table #21 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Middleware\ThrottleRequests.php(57): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Fix depreciation on model vs asset #22 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Routing\Middleware\ThrottleRequests->handle(Object(Illuminate\Http\Request), Object(Closure), 120, '1')
    Support multiple companies [$500 awarded] #23 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Tighten up checkin/checkout UX #24 C:\xampp\htdocs\snipe-it\vendor\barryvdh\laravel-cors\src\HandleCors.php(36): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Show number of assets for each asset model in listing page #25 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Barryvdh\Cors\HandleCors->handle(Object(Illuminate\Http\Request), Object(Closure))
    Handle errors more sanely when nothing in the DB #26 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Depreciation fix #27 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Auth\Middleware\Authenticate.php(43): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Fix tables on mobile #28 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Auth\Middleware\Authenticate->handle(Object(Illuminate\Http\Request), Object(Closure), 'api')
    Integrate barcode generation #29 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Confirmation screens on delete #30 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Fixing bootstrap process with default values. #31 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Router.php(660): Illuminate\Pipeline\Pipeline->then(Object(Closure))
    Added confirmation popups for deletes #32 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Router.php(635): Illuminate\Routing\Router->runRouteWithinStack(Object(Illuminate\Routing\Route), Object(Illuminate\Http\Request))
    Add notion of lost, stolen, out for deployment, RTD, etc #33 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Router.php(601): Illuminate\Routing\Router->runRoute(Object(Illuminate\Http\Request), Object(Illuminate\Routing\Route))
    Update asset index/view blade to reflect new status  #34 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Router.php(590): Illuminate\Routing\Router->dispatchToRoute(Object(Illuminate\Http\Request))
    Add CSV export for reports #35 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(176): Illuminate\Routing\Router->dispatch(Object(Illuminate\Http\Request))
    Make the Edit Profile page look less assy #36 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(30): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}(Object(Illuminate\Http\Request))
    incorrect command chown in README #37 C:\xampp\htdocs\snipe-it\vendor\barryvdh\laravel-debugbar\src\Middleware\InjectDebugbar.php(58): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Develop #38 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Barryvdh\Debugbar\Middleware\InjectDebugbar->handle(Object(Illuminate\Http\Request), Object(Closure))
    Implement settings  #39 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Settings edit #40 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php(30): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Add asset_type to Asset controller #41 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle(Object(Illuminate\Http\Request), Object(Closure))
    Fix delete-check on licenses #42 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Fix checkout for licenses #43 C:\xampp\htdocs\snipe-it\app\Http\Middleware\CheckForDebug.php(25): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Fix depreciation report with new licenses structure #44 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): App\Http\Middleware\CheckForDebug->handle(Object(Illuminate\Http\Request), Object(Closure))
    When you soft-delete a user, should free up all associated resources  #45 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Fix miscount on assets in user view #46 C:\xampp\htdocs\snipe-it\app\Http\Middleware\CheckForSetup.php(27): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    When the number of seats is edited, handle that smartly #47 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): App\Http\Middleware\CheckForSetup->handle(Object(Illuminate\Http\Request), Object(Closure))
    LDAP authentication #48 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Calendar view(s) for asset check out/in, due date, etc. [$20] #49 C:\xampp\htdocs\snipe-it\vendor\fideloper\proxy\src\TrustProxies.php(57): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    XSS Issues #50 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Fideloper\Proxy\TrustProxies->handle(Object(Illuminate\Http\Request), Object(Closure))
    Add postcode to locations #51 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Make the report columns sortable #52 C:\xampp\htdocs\snipe-it\app\Http\Middleware\NosniffGuard.php(17): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Add autocomplete to the search box #53 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): App\Http\Middleware\NosniffGuard->handle(Object(Illuminate\Http\Request), Object(Closure))
    New button weirdly placed on my iPad (3rd gen) #54 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Show months until asset is fully depreciated #55 C:\xampp\htdocs\snipe-it\app\Http\Middleware\ContentSecurityPolicyHeader.php(18): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Disable sorting on action column #56 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): App\Http\Middleware\ContentSecurityPolicyHeader->handle(Object(Illuminate\Http\Request), Object(Closure))
    Spaces get filtered out #57 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Modal stops passing title/message/href through if modal is canceled #58 C:\xampp\htdocs\snipe-it\app\Http\Middleware\ReferrerPolicyHeader.php(17): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Checkin message is wrong #59 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): App\Http\Middleware\ReferrerPolicyHeader->handle(Object(Illuminate\Http\Request), Object(Closure))
    CSRF protect all of the things #60 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    DB seed fails when mysql is in strict mode #61 C:\xampp\htdocs\snipe-it\app\Http\Middleware\XssProtectHeader.php(18): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Add 'retired' status #62 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): App\Http\Middleware\XssProtectHeader->handle(Object(Illuminate\Http\Request), Object(Closure))
    Asset Notes #63 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Notifications for when warranties are expiring... #64 C:\xampp\htdocs\snipe-it\app\Http\Middleware\FrameGuard.php(17): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Invalid SQL #65 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): App\Http\Middleware\FrameGuard->handle(Object(Illuminate\Http\Request), Object(Closure))
    Broken Gravatar URL in SSL-only environments #66 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Patch 1 #67 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php(49): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Fix insecure content warnings #68 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\View\Middleware\ShareErrorsFromSession->handle(Object(Illuminate\Http\Request), Object(Closure))
    Initial install script failing on db installation, tries to drop tables that don't exist #69 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Modify the Assets and Licenses controllers and database schemas to work #70 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php(63): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Can't edit address fields on locations #71 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Session\Middleware\StartSession->handle(Object(Illuminate\Http\Request), Object(Closure))
    Add address to location form #72 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Email input types #73 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(46): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    change location to status on assets table header #74 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle(Object(Illuminate\Http\Request), Object(Closure))
    License Count misreporting #75 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Purchase as separate entity #76 C:\xampp\htdocs\snipe-it\vendor\barryvdh\laravel-cors\src\HandlePreflight.php(29): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Allow '+' in Model Name & No #77 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(149): Barryvdh\Cors\HandlePreflight->handle(Object(Illuminate\Http\Request), Object(Closure))
    Expand Manufacturer #78 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php(53): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Http\Request))
    Services Management Section [big, needs fleshing out] #79 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(102): Illuminate\Routing\Pipeline->Illuminate\Routing\{closure}(Object(Illuminate\Http\Request))
    Re-jigger the asset displays to make "more info" more prominent #80 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(151): Illuminate\Pipeline\Pipeline->then(Object(Closure))
    File uploads #81 C:\xampp\htdocs\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(116): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter(Object(Illuminate\Http\Request))
    allow more characters in model name (and number) #82 C:\xampp\htdocs\snipe-it\public\index.php(58): Illuminate\Foundation\Http\Kernel->handle(Object(Illuminate\Http\Request))
    Ignoring production configs #83 {main}
    "}
  • Include what you've done so far in the installation, and if you got any error messages along the way: Installation was smooth, no errors during that stage.
  • Indicate whether or not you've manually edited any data directly in the database:
    No
    Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

https://snipe-it.readme.io/docs/getting-help

Hi there, I am not sure how to rectify this issue. My .emv file settings for gmail are as follows and have worked perfectly fine up until 14th Feb 2020:

--------------------------------------------

REQUIRED: OUTGOING MAIL SERVER SETTINGS

--------------------------------------------

MAIL_DRIVER=smtp
MAIL_HOST=smtp.gmail.com
MAIL_PORT=587
MAIL_USERNAME=itoffice@newbridgesch.uk
MAIL_PASSWORD=password
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDR=itoffice@newbridgesch.uk
MAIL_FROM_NAME='Newbridge IT Office'
MAIL_REPLYTO_ADDR=itoffice@newbridgesch.uk
MAIL_REPLYTO_NAME='Newbridge IT Office'

Any help would be much appreciated as we cannot email out any EULA's to users - just comes up with a 'whoops something went wrong' page when checking out an asset to a user.

@selindmarkl
Copy link

@newbridgesch since i have the same problem using gmail and haven't find a solution i wonder if you solved it, and how?

//lars

@newbridgesch
Copy link
Author

newbridgesch commented May 26, 2020 via email

@selindmarkl
Copy link

Thank you Michael for fast response

Ok, it seems like i have 2- step verification, and the solution to enable less secure apps doesn't work.

It suggests using App Passwords, but not sure that can be setup for a Linux server, at least its not an option to select in Google control panel.

Anyway i will look into again to see if it can be solved also with my setup.

Still its very strange, because i get mail from the daily backup which is made by Snip-it, but perhaps its 2 different methods used to send the mail.

//lars

@newbridgesch
Copy link
Author

newbridgesch commented May 26, 2020 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants