meeting-room-booking-system / mrbs-code

MRBS application code
Other
115 stars 58 forks source link

Change sender name when sending email #2300

Open jberanek opened 5 years ago

jberanek commented 5 years ago

Hello everyone,

I have a problem sending emails. The sender name does not get very friendly because it takes the value from from in mail_settings. I would like to change, can you help me how to do this?

Example:

from: booking.city.br@org.br

When sending an email the name of the rementente will be "booking city br".

I would just like to book for example in the field sender name

Reported by: *anonymous

Original Ticket: mrbs/support-requests/1592

jberanek commented 5 years ago

Hi, You can set a name in the From setting in the config file. For example:

$mail_settings['from'] = 'Booking City Br <admin@mydomain.com>';

Will display the name Booking City Br in the from field of the email. I hope that helps.

Original comment by: gedm

jberanek commented 5 years ago

It was just that. thank you so much!

Original comment by: *anonymous