email sender

More
10 years 6 months ago - 10 years 6 months ago #28 by tkalkuhl
email sender was created by tkalkuhl
Hi,

I have two e-mail related problems
1) No e-mails are send, when using a different language than en-GB
I created a new folder de-DE in libraries/solidres/mail and copied the content of the en-GB folder, and it works

2) The e-mails are not send by the e-mail specified at the reservation asset, but from "Root User" "root@localhost"?
Last edit: 10 years 6 months ago by tkalkuhl.
The following user(s) said Thank You: Dolphin

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago - 10 years 6 months ago #31 by vietvh
Replied by vietvh on topic email sender
Hi tkalkuhl,

1) We should fall back to en-GB if no language is found. I will report it back to the team.

2) This is a minor bug and it is not hard to fix,

In file /components/com_solidres/controllers/reservation.php

There are 2 lines like the below which are not correct
$mail->setSender(array($hotelEmail => $hotelName));

They should be:
$mail->setSender(array($hotelEmail, $hotelName));

I attached a quick fix, you can download, extract and overwrite the old file to confirm.

vietvh

This message has an attachment file.
Please log in or register to see it.

Last edit: 10 years 6 months ago by vietvh. Reason: Re-attach file

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #10407 by rundellato
Replied by rundellato on topic email sender
hi sir, ive tried the reservation.php quick fix but unfortunately didnt work "Processing....."

Please Log in or Create an account to join the conversation.

More
6 years 6 months ago #10414 by solidres
Replied by solidres on topic email sender
Hi,

This is a 4 year old topic, this solution is for a very old Solidres version which can not be applied into recent versions.

If you have any issues, please raise a new support ticket.

Cheers,

Please Log in or Create an account to join the conversation.

Moderators: solidres
Powered by Kunena Forum

All the things you need to make your work easier. Did you like Solidres?