snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

7.0.13 CC Email alerts appear to no longer work when items are checked in/checked out

Open Toby737 opened this issue 1 year ago • 2 comments

Debug mode

Describe the bug

Since the upgrade to 7.0.13, it seems that the CC Email feature no longer works.

Reproduction steps

  1. Ensure a valid email is present in Notification Settings --> CC Email.
  2. Checkout an item.
  3. Checkin the item.
  4. Expectation is to also receive a copy of the checkout/checkin email.
  5. User gets the checkout/checkin email, however nothing is sent to the email address in the CC Email field.

Expected behavior

A copy of the checkin/checkout emails should be received.

Screenshots

No response

Snipe-IT Version

Version v7.0.13 - build 15514 (master)

Operating System

CentOS 9

Web Server

Apache

PHP Version

8.3.12

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

I setup a test instance of 7.0.12 and performed the above test and emails are sent to whatever address is in the CC Email field. So seems to be a bug in 7.0.13.

Toby737 avatar Oct 09 '24 16:10 Toby737

I'm seeing the same behavior:

Snipe-IT version: v7.0.13 build 15514 PHP Version:8.3.6 Laravel Version:10.48.22

Ubuntu 24.04.1 LTS

yospuig avatar Oct 10 '24 15:10 yospuig

I am also seeing this exact behavior on Windows IIS running on Server 2019.

Test email sent from GUI is sent and received User which was assigned asset receives the email notification on checkout and check-in Admin assigned under Notification Setting > Alerts > CC Email receives no email

We have a user assigned in AD solely for this purpose. It has its own mailbox in Office 365.

If I sign in and view that mailbox, the test emails appear in the inbox. The emails sent for checkout and check-in appear in the sent items.

However, the CC address for the emails isn't being included. The email is ONLY being sent to the end user. The CC email is not being sent at all.

Our details:

Snipe-IT Version Version v7.0.13 - build 15514 (master)

Operating System Windows Server 2019

Web Server Windows IIS

PHP Version 8.3.12

DomingoSneed avatar Oct 10 '24 20:10 DomingoSneed

i have same problem, not getting email CC,

Snipeit : v7.0.13 build 15514 Os : Ubuntu 22.04.4 LTS Php : 8.1.2-1ubuntu2.19 Laravel : 10.48.14

itmandev avatar Oct 22 '24 01:10 itmandev

Hello, Just wanted to provide an update. I upgraded our test instance to v7.0.13 - build 15666 and tested the mail notifications when checking in/out devices, and it is now working. Many thanks for fixing this. 😊 One small thing is that the From displays only the email address this time, compared to v7.0.13 - build 15514 which displayed the From Name and From email address (set from the .env?). image

No big deal if it will only show the email address set in the .env file going forward, but just in case it should be displaying the MAIL_FROM_NAME entry from the .env, raising it now. 😅

Snipe-IT v7.0.13 - build 15514 image

Snipe-IT v7.0.13 - build 15666 image

Toby737 avatar Nov 05 '24 12:11 Toby737

@Toby737 The MAIL_FROM_NAME has been added to be recognized by mail notifications again. Please pull from master and let me know if the issue still persists. Thanks

Godmartinz avatar Dec 03 '24 18:12 Godmartinz

@Godmartinz Just ran an update and yes it appears to be back in order. Many thanks!

Toby737 avatar Dec 04 '24 18:12 Toby737