-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Error 500 when sending email "Undefined offset: 1" #1810
Comments
What is the actual error that's being thrown? |
Hi the actual error is Whoops! Server Error: 500 (Internal Server Error) In the log I have the following:
|
Does it happen ever time you try to send mail? What are you doing to trigger it? |
Yes it is happing every time Try to send a mail. I activate that users get a mail when an asset is checked in or out of their name. When I check an asset in or out I get the 500 error in about 6 seconds. |
Do all of your users have email addresses in your system? |
Yes all users have an email adress. |
It looks like it's trying to use |
|
I think it's the no password thing that's causing the problem. See this bit in the stack trace:
|
Tomorrow I will enter my own mail credentials(which requires a password) because the prhc.systeembeheer does not has a password. And I will check if the error still pops-up |
Dear snipe ,IxFail
Thanks you so much |
Hi @hoaimv , This issue was solved 4 years ago, so my memory is a little rusty, but if I read my own replies; I just added a SMTP account that was using a password.
In Snipe version 2.1.0-41 the password was mandatory even if the SMTP user could send mail without a password. |
Dear IxFail |
Sorry I cant do that, I don't work for the company that used Snipe-IT anymore +I haven't used Snipe-It for atleast 3 years. I wish you the best in finding a solution with your problem. |
Dear snipe ,IxFail |
Expected Behavior
The mail is send with smtp
Actual Behavior
A 500 error is showing + no mail is send
Before posting this issue, confirm/answer the following:
Snipe-IT version v2.1.0-41-g6d810a9
PHP Version 5.5.9-1ubuntu4.14
Laravel Version 4.2.17
Hi guys,
I have the following issue:
When I try to send an email I get a 500 error
In the logs and debug mod it's saying it's caused by /vendor/swiftmailer/swiftmailer/lib/classes/Swift/Transport/Esmtp/Auth/NTLMAuthenticator.php:303
The following script is showing in the debug mode:
This is my mail.php config:
For the username I even tried the email adres.
The email account does not need a password
I hope you guys can help me.
greetz
The text was updated successfully, but these errors were encountered: