separate email for booking and ics
Brought to you by:
jberanek
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
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.
Can you give me some advice, on how to do that?
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.