Jump to content

Recommended Posts

Posted

Hi Nick

 

Odd one, wierd issue. When booking a laptop, the admins arent getting the email anymore - but if you cancel it; the cancellation comes through! Only Laptop bookings look to be affected. Could you take a look for me? Since updating to 8.6 and now 8.7.

 

Stuart

Posted
Done a bit more digging. It sends the email to the user; but doesnt send it to the resource admins. To eliminate a white space issue - I listed just myself in there. Oddly, when you cancel - the resource admin gets the cancellation - so is it the new rules engine breaking something?
Posted
Yep, I'm using that dll at the moment. I'm trying to track back to which version it stopped working. It's got to be somewhere in the send to admins bit on the initial booking, as the removal email gets sent to the resource admin.
Posted

This is the code in the book function, if the bookie is getting an email, it should in theory work for the admins, is anything getting logged in the event viewer as it failing?

 

                if (config.SMTP.Enabled)
               {
                   iCalGenerator.Generate(b, DateTime.Parse(Date));
                   if (config.BookingSystem.Resources[b.Room].EmailAdmins) iCalGenerator.Generate(b, DateTime.Parse(Date), true);
               }

Posted
Hmmm :( yes, the bookie is getting the email - but I've reduced the three admin to one (me) and it doesn't come through. This does only apply to laptop type bookings and the initial confirmation. Room or equipment type bookings the resource admin correctly gets the confirmation too. The cancellation is received correctly in both cases
Posted

Anything in the event viewer? It should throw an error and log it in the web tracker and event viewer if it was failing for something.

 

      
       
     

 

This code works correctly for me

Posted

extremely odd, the only thing that's changed is the removal of some debug events.

 

Attached dll should log in the application event log what admins it has to send to for the book function

Posted
If you still have a separate Home Access Plus+ event log, you will need to delete it and any registry references to HAP+ so HAP+ can use the Application Event log. You should see logon events listing the application event log from HAP+
Posted

Ok. Yep. Found that entry. Removed. Recycled pool, saw it get recreated. Tried to book a resource that should generate an alert to admins, on laptops... Email generated to bookie but not admins. Created book a resource that should generate an alert to admins, on equipment.... Email generAted to both. Cancellations sent in all cases to admins and bookies.

 

There are no entries in the app event log.

Posted

It should work, it does for me, attached is another dll to try

 

Home Access Plus+ Info

Page: HAP Booking Admin Email

Sent booking to admins [email protected]

Home Access Plus+ Info

Page: HAP Booking Admin Email

Saving iCal file

Home Access Plus+ Info

Page: HAP Booking Admin Email

Finishing iCal Generation

Home Access Plus+ Info

Page: HAP Booking Admin Email

Cycling through the admins

Home Access Plus+ Info

Page: HAP Booking Admin Email

Loading booking information and generating iCal

Home Access Plus+ Info

Page: HAP Booking Admin Email

Detecting Resource Type

Home Access Plus+ Info

Page: HAP Booking Admin Email

Loading Resource and Email Templates

Posted
Dense question...how would I know? There isn't a separate log file shown if that's what you mean? I did used to have the old install able one from the v7 days I think? Could it be some leftovers of this causing problems?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...