Menu

#76 separate email for booking and ics

open
nobody
ics (1)
1
2019-03-04
2019-03-04
Anonymous
No

Hello,
I've read this old post (https://sourceforge.net/p/mrbs/mailman/message/26695193/) but I do not understand :-)

When booking a room, how to send email with booking detail to the room manager, and the ics attachment to another email?

thanks in advance

Discussion

  • Campbell Morrison

    At the moment if .ics attachments are enabled they go to everybody that gets the email. If you want to send two different emails you would need to modify functions_mail.inc.

     
  • Anonymous

    Anonymous - 2019-03-04

    Can you give me some advice, on how to do that?

     
  • Campbell Morrison

    You'll have to modify the two functions notifyAdminOnBooking() and notifyAdminOnDelete() so that they each send two emails, to the different sets of addresses. You'll probably also need to modify create_addresses() and give it a third parameter so that you can choose which set of addresses you want.