+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 30
Home Access Plus+ Thread, Laptops booking not sending emails in Projects:; Hi Nick Odd one, wierd issue. When booking a laptop, the admins arent getting the email anymore - but if ...
  1. #1
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79

    Laptops booking not sending emails

    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

  2. #2
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79
    Yep, got me and my team listed by name, with a , and space between each entry. It's weird that we get the cancellations!!

  3. #3
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79
    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?

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    Odd, the rules execute after the email get sent, have you tried the dll attached to the other post?

  5. #5
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79
    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.

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    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?

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

  7. #7
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79
    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

  8. #8
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    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.

    HTML Code:
     <resource name="Laptops" type="Laptops" admins="Nick" enabled="True" emailadmins="True" enablecharging="True" showto="All" hidefrom="" years="Inherit" quantities="15,30" readonlyto="" readwriteto="" multilessonto="None">
            <rooms inherit="True" />
          </resource>
    This code works correctly for me

  9. #9
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79
    Nothing in the event log, and I've not set up the web tracking yet. Code looks the same as mine

  10. #10
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79
    Mind you, after having multiple hap instances, I'm not sure if my hap event log is working. Not seen anything in it for a long time. Any way to remove and re add?

  11. #11
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    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

  12. #12
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79
    Cool. Gimme a few to fire up work machine and VPN in. Will test this out for you now...

  13. #13
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,474
    Thank Post
    37
    Thanked 483 Times in 415 Posts
    Rep Power
    109
    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+

  14. #14
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79
    Ok, where in the registry am I looking. I've got a separate home access plus + log in event viewer

  15. #15
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,128
    Thank Post
    543
    Thanked 152 Times in 138 Posts
    Blog Entries
    78
    Rep Power
    79
    Regedit search to the rescue. All gone, but nothing logged to app log. No change in behaviour either :-s

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Exchange 2003 not sending emails
    By alunmjones in forum Enterprise Software
    Replies: 34
    Last Post: 29th November 2011, 09:33 AM
  2. Ex2k7SP1 Server - sending email but not arriving at inbox.
    By Zer0kbps in forum Windows Server 2008
    Replies: 0
    Last Post: 4th September 2009, 07:57 AM
  3. Exchange 2007 not sending emails
    By MarkB in forum Windows
    Replies: 16
    Last Post: 31st July 2007, 10:25 AM
  4. Outlook 2007 sending emails to @local
    By Mintsoft in forum Windows
    Replies: 0
    Last Post: 7th July 2006, 11:52 AM
  5. Replies: 2
    Last Post: 15th February 2006, 03:03 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •