Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sendmail (and ENV mail configuration) #4

Open
StoneLabs opened this issue Oct 5, 2023 · 4 comments
Open

Add sendmail (and ENV mail configuration) #4

StoneLabs opened this issue Oct 5, 2023 · 4 comments

Comments

@StoneLabs
Copy link

Currently sendmail is not installed. Therefore, even if the appropriate application/config/email.php values are set, mails will not be sent. As can be seen with smtp_debug:

easyappointments      | sh: 1: /usr/sbin/sendmail: not found

While my knowledge on dockerfiles/images is limited, I do believe this is as simple as adding it here:

&& apt-get install -y libfreetype-dev libjpeg62-turbo-dev libpng-dev unzip wget nano \

-      && apt-get install -y libfreetype-dev libjpeg62-turbo-dev libpng-dev unzip wget nano \
+      && apt-get install -y libfreetype-dev libjpeg62-turbo-dev libpng-dev unzip wget nano sendmail \

Further it would be ideal to have docker ENV entries for mail configuration but I'm pretty sure thats on your radar already.

~Stone

@alextselegidis
Copy link
Owner

Hello!

Thanks for your suggestions, will check them for the next image tag.

Cheers!

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

@alextselegidis
Copy link
Owner

Quick update on this one: the next tag will be the 1.5 one, so this will be published once 1.5 reaches the first stable version.

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

@mitrams
Copy link

mitrams commented Sep 29, 2024

Hi, has this issue been fixed since the last update?

@alextselegidis
Copy link
Owner

alextselegidis commented Sep 30, 2024

Hello!

Thanks for the PR!

Actually sendmail is installed with mailutils

If the email is not sent, then this is probably due to another problem

Scratch, the previous answer, it referred to the origianl EA repo.

I'll merge this

Alex Tselegidis, Easy!Appointments Creator
Need a customization? Get a free quote!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants