Menu

#604 How to setup email notification after new entry to room

open
nobody
None
1
2014-10-02
2014-09-19
xing
No

Dear Sir/Mdm,

I am using MRBS for room booking. Currently, i want to know how to setup email notification after new entry to room

I am using Gmail smtp server
My MRBS version is 1.4.4.1

I also added my "Room admin email" to my gmail account.

I try to search online but to no avail. Kindly help.

Terry

Terry

Discussion

  • Campbell Morrison

    You need to set in your config file:

    $mail_settings['room_admin_on_bookings']    = TRUE;
    $mail_settings['admin_backend'] = 'smtp';
    $smtp_settings['host'] = 'ssl://smtp.gmail.com';  // SMTP server
    $smtp_settings['port'] = 465;           // SMTP port number
    $smtp_settings['auth'] = TRUE;        // Whether to use SMTP authentication
    $smtp_settings['username'] = 'username@gmail.com';       // Username (if using authentication)
    $smtp_settings['password'] = 'password';       // Password (if using authentication)
    
     
  • xing

    xing - 2014-09-19

    Hi,

    Tks. It works.

    Terry

     

    Last edit: xing 2014-09-19
  • Campbell Morrison

    To get more information in the body set

    $mail_settings['details'] = TRUE;
    

    and also set

    $url_base = "http://yourdomain.com/path_to_mrbs/";
    

    to make the link work.

     
  • Campbell Morrison

    In the latest version of MRBS you can also get MRBS to email out an iCal (.ics) attachment which can be added to your calendar.

     
  • xing

    xing - 2014-09-19

    Tks for your prompt reply. It works perfect.

     
MongoDB Logo MongoDB