Jump to content

Recommended Posts

Posted

Hi All,

 

Just wondering if anyone has managed to get MRBS working with Gmail?

 

I have tried so many ways, and would be interested in anyone could help or give some advice!?

 

Matt

  • 2 months later...
Posted

I too struggled for a long time to get this to work, hopefully this helps you out. Here are the settings I have changed in the config.inc.php file and it seems to work, the booker(user) gets an automated email of the booking. Make sure the to setup your "WHO TO EMAIL" section too. I only have selected to email the booker and it works. I will be testing this next school year the other email notifications. I highlighted the settings I changed in red.

 

// WHO TO EMAIL
// ------------
// The following settings determine who should be emailed when a booking is made,
// edited or deleted (though the latter two events depend on the "When" settings below).
// Set to TRUE or FALSE as required
// (Note:  the email addresses for the room and area administrators are set from the
// edit_area_room.php page in MRBS)
$mail_settings['admin_on_bookings']      = FALSE;  // the addresses defined by $mail_settings['recipients'] below
$mail_settings['area_admin_on_bookings'] = FALSE;  // the area administrator
$mail_settings['room_admin_on_bookings'] = FALSE;  // the room administrator
$mail_settings['booker']                 = [b][color=#ff0000]TRUE[/color][/b];  // the person making the booking
$mail_settings['book_admin_on_approval'] = FALSE;  // the booking administrator when booking approval is enabled
                                                  // (which is the MRBS admin, but this setting allows MRBS
                                                  // to be extended to have separate booking approvers)
  
/*******************
* SMTP settings
*/


// These settings are only used with the "smtp" backend"
$smtp_settings['host'] = '[color=#ff0000][b]smtp.gmail.com[/b][/color]';  // SMTP server
$smtp_settings['port'] = [color=#ff0000][b]465[/b][/color];           // SMTP port number
$smtp_settings['auth'] = [b][color=#ff0000]TRUE[/color][/b];        // Whether to use SMTP authentication
$smtp_settings['username'] = '[color=#ff0000][b][email protected][/b][/color]';       // Username (if using authentication)   <---  This of course is the email address you want to use to authenticate with
$smtp_settings['password'] = '[b][color=#ff0000]password[/color][/b]';       // Password (if using authentication)


// EMAIL - MISCELLANEOUS
// ---------------------


// Set the email address of the From field. Default is '[email protected]'
$mail_settings['from'] = '[b][color=#ff0000][email protected][/color][/b]';      <----- This can be a fake email address but gmail users will get a warning that it might be spam

  • 2 years later...
Posted

I have tried the settings you have got... and many more... this is the debug... WHAT IS WRONG WITH IT? WHY WON'T IT SEND A DANG EMAIL?

 

[DEBUG] Preparing email for new or changed booking ...

[DEBUG] Preparing to send email ...

[DEBUG] Using backend 'smtp'

[DEBUG] Recipients: '[email protected],[email protected]'

 

Also: excerpt from config.inc.php:

$mail_settings['admin_on_bookings'] = FALSE; // the addresses defined by $mail_settings['recipients'] below

$mail_settings['area_admin_on_bookings'] = FALSE; // the area administrator

$mail_settings['room_admin_on_bookings'] = FALSE; // the room administrator

$mail_settings['booker'] = TRUE; // the person making the booking

$mail_settings['book_admin_on_approval'] = FALSE; // the booking administrator when booking approval is enabled

 

 

$mail_settings['on_new'] = TRUE; // when an entry is created

$mail_settings['on_change'] = TRUE; // when an entry is changed

$mail_settings['on_delete'] = FALSE; // when an entry is deleted

 

 

$mail_settings['html'] = TRUE; // Set to true if you want HTML mail

$mail_settings['icalendar'] = TRUE; // Set to TRUE to include iCalendar details

 

$mail_settings['admin_lang'] = 'en'; // Default is 'en'.

 

 

$mail_settings['domain'] = '@vintagechurchla.com';

$mail_settings['username_suffix'] = '';

 

 

$mail_settings['admin_backend'] = 'smtp';

 

 

$smtp_settings['host'] = 'aspmx.l.google.com'; // SMTP server

$smtp_settings['port'] = 25; // SMTP port number

$smtp_settings['auth'] = TRUE; // Whether to use SMTP authentication

$smtp_settings['username'] = '[email protected]'; // Username (if using authentication)

$smtp_settings['password'] = '*************************'; // Password (if using authentication)

 

 

$mail_settings['from'] = '[email protected]';

$mail_settings['organizer'] = '[email protected]';

$mail_settings['recipients'] = '[email protected]';

$mail_settings['cc'] = '[email protected]';

$mail_settings['treat_cc_as_to'] = TRUE;

$mail_settings['ics_filename'] = "VintageCal";

$mail_settings['debug'] = TRUE;

$mail_settings['disabled'] = FALSE;

 

 

 

PLEASE HELP IT ISN"T WORKING! email [email protected] if you can help, or respond here.

  • 8 years later...
Posted
Good morning, how do you configure notifications correctly with Gmail? I've been trying for 2 days and it doesn't work, in the debug it says message sent, but I don't receive email and there is no email sent in the outbox.

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...