-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Unable to send email #8789
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Hello. |
I will read through and see if it resolves my issue.
Thanks!
Matthew C. ADKINS – Senior Desktop Engineer
FAREVA RICHMOND
2248 Darbytown Road
Henrico Virginia 23231
E-mail : [email protected]<mailto:[email protected]>
Website : Fareva.com
[FAREVA logo QUADR EMAIL]
[DOUBLE BANDEAU FAREVA GESTES BARRIERE EN]
The contents of this email and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this email is received in error, please contact the sender of this e-mail and then delete it. For more information on how we process personal data, please see https://www.fareva.com/en-gb/PrivacyPolicy. Please note that neither FAREVA nor the sender accepts any responsibility for viruses and it is your responsibility to scan or otherwise check this email and any attachments. This communication is issued on behalf of FAREVA, and individuals or legal entities (other than FAREVA) that are involved in the services provided by, or on behalf of, FAREVA cannot be held liable in any way whatsoever.
From: samotelf [mailto:[email protected]]
Sent: Thursday, November 19, 2020 1:40 PM
To: snipe/snipe-it
Cc: Adkins, Matt C; Author
Subject: Re: [snipe/snipe-it] Unable to send email (#8789)
Hello.
I believe it is already solved.
Check #8746 (comment)<#8746 (comment)>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#8789 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR2EA3BT6E46BZPEPEQ6GNTSQVQ65ANCNFSM4T3VLG6A>.
|
Hello,
Adding a comma to the end of line 76 of mail.php resolved the issue.
Thanks!
Matthew C. ADKINS – Senior Desktop Engineer
FAREVA RICHMOND
2248 Darbytown Road
Henrico Virginia 23231
E-mail : [email protected]<mailto:[email protected]>
Website : Fareva.com
[FAREVA logo QUADR EMAIL]
[DOUBLE BANDEAU FAREVA GESTES BARRIERE EN]
The contents of this email and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this email is received in error, please contact the sender of this e-mail and then delete it. For more information on how we process personal data, please see https://www.fareva.com/en-gb/PrivacyPolicy. Please note that neither FAREVA nor the sender accepts any responsibility for viruses and it is your responsibility to scan or otherwise check this email and any attachments. This communication is issued on behalf of FAREVA, and individuals or legal entities (other than FAREVA) that are involved in the services provided by, or on behalf of, FAREVA cannot be held liable in any way whatsoever.
From: Adkins, Matt C
Sent: Thursday, November 19, 2020 1:48 PM
To: 'snipe/snipe-it'; snipe/snipe-it
Cc: Author
Subject: RE: [snipe/snipe-it] Unable to send email (#8789)
I will read through and see if it resolves my issue.
Thanks!
Matthew C. ADKINS – Senior Desktop Engineer
FAREVA RICHMOND
2248 Darbytown Road
Henrico Virginia 23231
E-mail : [email protected]<mailto:[email protected]>
Website : Fareva.com
[FAREVA logo QUADR EMAIL]
[DOUBLE BANDEAU FAREVA GESTES BARRIERE EN]
The contents of this email and any attachments are confidential to the intended recipient. They may not be disclosed to or used by or copied in any way by anyone other than the intended recipient. If this email is received in error, please contact the sender of this e-mail and then delete it. For more information on how we process personal data, please see https://www.fareva.com/en-gb/PrivacyPolicy. Please note that neither FAREVA nor the sender accepts any responsibility for viruses and it is your responsibility to scan or otherwise check this email and any attachments. This communication is issued on behalf of FAREVA, and individuals or legal entities (other than FAREVA) that are involved in the services provided by, or on behalf of, FAREVA cannot be held liable in any way whatsoever.
From: samotelf [mailto:[email protected]]
Sent: Thursday, November 19, 2020 1:40 PM
To: snipe/snipe-it
Cc: Adkins, Matt C; Author
Subject: Re: [snipe/snipe-it] Unable to send email (#8789)
Hello.
I believe it is already solved.
Check #8746 (comment)<#8746 (comment)>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#8789 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AR2EA3BT6E46BZPEPEQ6GNTSQVQ65ANCNFSM4T3VLG6A>.
|
Cool. |
This might be helpful. Check this out thilinadias/thilinadias#1 (comment)
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior (or desired behavior if a feature request)
Test email generates the following error: Mail could not be sent. No additional error message provided. Check your mail settings and your app log.
Actual Behavior
When I initial installed and configured Snipe-IT, the email test failed on Pre-Flight. I continued past Pre-Flight to troubleshoot. I click the Test Mail button under Settings > General Settings and it generates the above error. We are using a mail relay to allow email to to be acccepted by our Exchange 2010 server.
PHP email settings are below. A username and password are not required since it is a mail relay. Access is granted by the server's IP address.
MAIL_DRIVER=smtp
MAIL_HOST=10.x.x.x
MAIL_PORT=25
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDR=[email protected]
MAIL_FROM_NAME='Snipe-IT'
MAIL_REPLYTO_ADDR=[email protected]
MAIL_REPLYTO_NAME='Snipe-IT'
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?
Fresh install
Version of Snipe-IT you're running
v5.0.6 build 5600 (g686ab681e)
Version of PHP you're running
7.4.1
Version of MySQL/MariaDB you're running
10.5.5 64-bit
What OS and web server you're running Snipe-IT on
Windows Server 2012 R2
IIS 8.5.9600.16384
What method you used to install Snipe-IT (install.sh, manual installation, docker, etc)
Git
WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error
Yes
What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error
Settings > General Settings
If a stacktrace is provided in the error, include that too.
Stack trace included
Any errors that appear in your browser's error console.
Google Chrome: Failed to load resource: the server responded with a status of 500 (Internal Server Error) /snipe-it/public/api/v1/settings/mailtest:1
Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo.
Feature not enabled on demo site.
Include any additional information you can find in
storage/logs
and your webserver's logs.Larvel
[2020-11-19 11:34:33] production.ERROR: syntax error, unexpected ''Expected_Checkin_Notification' (T_CONSTANT_ENCAPSED_STRING), expecting ')' {"userId":1,"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): syntax error, unexpected ''Expected_Checkin_Notification' (T_CONSTANT_ENCAPSED_STRING), expecting ')' at C:\inetpub\wwwroot\snipe-it
esources\lang\en\mail.php:77)
[stacktrace]
#0 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Translation\FileLoader.php(123): Illuminate\Filesystem\Filesystem->getRequire()
Fix depreciation math #1 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Translation\FileLoader.php(67): Illuminate\Translation\FileLoader->loadPath()
Ability for admin to check out an asset to a user #2 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Translation\Translator.php(279): Illuminate\Translation\FileLoader->load()
Add reports - depreciation, people with no assets, etc #3 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Translation\Translator.php(191): Illuminate\Translation\Translator->load()
Add category back to Models blade/controller #4 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Translation\Translator.php(126): Illuminate\Translation\Translator->getLine()
Needs sexy dashboard summary #5 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\helpers.php(873): Illuminate\Translation\Translator->get()
Disallow models/depreciations/categories to be deleted if they have assets associated #6 C:\inetpub\wwwroot\snipe-it\app\Notifications\MailTest.php(42): trans()
Add location to users, propagate those to assets #7 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\Channels\MailChannel.php(51): App\Notifications\MailTest->toMail()
Figure out how to handle multi-seat licenses #8 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\NotificationSender.php(146): Illuminate\Notifications\Channels\MailChannel->send()
Search box isn't hooked up to anything #9 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\NotificationSender.php(105): Illuminate\Notifications\NotificationSender->sendToNotifiable()
Improve UI of category display to show nesting #10 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Support\Traits\Localizable.php(19): Illuminate\Notifications\NotificationSender->Illuminate\Notifications\{closure}()
Build-out ACLs to set who can view which sections (reports, etc) #11 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\NotificationSender.php(107): Illuminate\Notifications\NotificationSender->withLocale()
A user (non-admin) should be able to request an asset [$15] #12 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\NotificationSender.php(79): Illuminate\Notifications\NotificationSender->sendNow()
Column sorting on table displays #13 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Notifications\ChannelManager.php(39): Illuminate\Notifications\NotificationSender->send()
Add "clone" option in edit screen for assets #14 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Support\Facades\Facade.php(261): Illuminate\Notifications\ChannelManager->send()
Option to mark assets as requestable. #15 C:\inetpub\wwwroot\snipe-it\app\Http\Controllers\Api\SettingsController.php(138): Illuminate\Support\Facades\Facade::__callStatic()
Child assets linked to parent assets (HDD, replacement parts, etc) [$100] #16 [internal function]: App\Http\Controllers\Api\SettingsController->ajaxTestEmail()
Add warrantee field to assets/models #17 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Controller.php(54): call_user_func_array()
Move validation out of the controllers and into the models where it belongs #18 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\ControllerDispatcher.php(45): Illuminate\Routing\Controller->callAction()
Seed database with models, manufacturers, categories, etc. #19 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Route.php(219): Illuminate\Routing\ControllerDispatcher->dispatch()
Import functions for users, assets, models, etc #20 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Route.php(176): Illuminate\Routing\Route->runController()
Merge licenses table into assets table #21 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Router.php(681): Illuminate\Routing\Route->run()
Fix depreciation on model vs asset #22 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(130): Illuminate\Routing\Router->Illuminate\Routing\{closure}()
Support multiple companies [$500 awarded] #23 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Auth\Middleware\Authenticate.php(43): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Tighten up checkin/checkout UX #24 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): Illuminate\Auth\Middleware\Authenticate->handle()
Show number of assets for each asset model in listing page #25 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Handle errors more sanely when nothing in the DB #26 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Router.php(683): Illuminate\Pipeline\Pipeline->then()
Depreciation fix #27 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Router.php(658): Illuminate\Routing\Router->runRouteWithinStack()
Fix tables on mobile #28 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Router.php(624): Illuminate\Routing\Router->runRoute()
Integrate barcode generation #29 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Routing\Router.php(613): Illuminate\Routing\Router->dispatchToRoute()
Confirmation screens on delete #30 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(170): Illuminate\Routing\Router->dispatch()
Fixing bootstrap process with default values. #31 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(130): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
Added confirmation popups for deletes #32 C:\inetpub\wwwroot\snipe-it\vendor\barryvdh\laravel-debugbar\src\Middleware\InjectDebugbar.php(65): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Add notion of lost, stolen, out for deployment, RTD, etc #33 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): Barryvdh\Debugbar\Middleware\InjectDebugbar->handle()
Update asset index/view blade to reflect new status #34 C:\inetpub\wwwroot\snipe-it\app\Http\Middleware\SecurityHeaders.php(26): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Add CSV export for reports #35 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): App\Http\Middleware\SecurityHeaders->handle()
Make the Edit Profile page look less assy #36 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
incorrect command chown in README #37 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
Develop #38 C:\inetpub\wwwroot\snipe-it\app\Http\Middleware\CheckForDebug.php(25): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Implement settings #39 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): App\Http\Middleware\CheckForDebug->handle()
Settings edit #40 C:\inetpub\wwwroot\snipe-it\app\Http\Middleware\CheckForSetup.php(26): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Add asset_type to Asset controller #41 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): App\Http\Middleware\CheckForSetup->handle()
Fix delete-check on licenses #42 C:\inetpub\wwwroot\snipe-it\vendor\fideloper\proxy\src\TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Fix checkout for licenses #43 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): Fideloper\Proxy\TrustProxies->handle()
Fix depreciation report with new licenses structure #44 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
When you soft-delete a user, should free up all associated resources #45 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
Fix miscount on assets in user view #46 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php(56): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
When the number of seats is edited, handle that smartly #47 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): Illuminate\Session\Middleware\StartSession->handle()
LDAP authentication #48 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php(63): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Calendar view(s) for asset check out/in, due date, etc. [$20] #49 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle()
XSS Issues #50 C:\inetpub\wwwroot\snipe-it\vendor\barryvdh\laravel-cors\src\HandlePreflight.php(29): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Add postcode to locations #51 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(171): Barryvdh\Cors\HandlePreflight->handle()
Make the report columns sortable #52 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
Add autocomplete to the search box #53 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(145): Illuminate\Pipeline\Pipeline->then()
New button weirdly placed on my iPad (3rd gen) #54 C:\inetpub\wwwroot\snipe-it\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php(110): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
Show months until asset is fully depreciated #55 C:\inetpub\wwwroot\snipe-it\public\index.php(58): Illuminate\Foundation\Http\Kernel->handle()
Disable sorting on action column #56 {main}
"}
Include what you've done so far in the installation, and if you got any error messages along the way.
Installed and configured per insturctions for Windows server
Indicate whether or not you've manually edited any data directly in the database
No data has been manually editedin the DB.
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
The text was updated successfully, but these errors were encountered: