Hi, I noticed a new option in the panel "Email Templates" and added a new entry "Default welcome email" but when creating a new email account or the new client is not receiving any email with this entry. When creating a new email account welcome message is created based on file welcome_email_en.txt Is it possible to ask for information on how it works? Regards
This is a welcome message for new clients, not for new email accounts. A welcome message is sent to the client when the client is created. Check that you have a administrator name and email address set under system > interface config.
Ok, it works but there is an error because the source of the message has not set the sender field and my mail server rejects the message. Subject: =?UTF-8?B?VGVzdG93YSBOYXp3YSBLbGllbnRh?= To: [email protected] MIME-Version: 1.0 User-Agent: ISPConfig/3 (Mailer Class) From: <> Content-Type: text/plain; charset="utf-8"
Go to system -> interface main config -> tab "mail". You should find "Administrators name" and "Administrators email" there. Those entries are used for sending.
Could you please post the content of your /usr/local/ispconfig/server/conf/mail/welcome_email_en.txt /usr/local/ispconfig/server/conf-custom/mail/welcome_email_en.txt (if present)
But these files are responsible for sending a notification if you create a new email account and the problem that I described above is to send a notice when we create a new customer and these files are not taken into account.
Okay, could you please open: /usr/local/ispconfig/interface/web/client/client_edit.php Then in line 367 change PHP: $system_config = $app->getconf->get_global_config(); to PHP: $system_config = $app->getconf->get_global_config('mail'); This should solve your issue. We'll patch this.
This solution helped but I found other problems. If you set the variable in the message: {mail_servers} {web_servers} {dns_servers} {db_servers} is in the mail do not have any information on these servers. For me an email should be sent when you set limits on the "Limits"
Ok I think that this option should also be to send a notification when we create a new email account. Such notification should be set for each mail server separately because each server can have different settings.
That's what the template files are for, that I mentioned earlier in the thread Those are sent to each newly created mailbox.
So, where should new languages templates be placed on in order to make a pull request? /usr/local/ispconfig/server/conf/mail/ /usr/local/ispconfig/server/conf-custom/mail/
The files under server/conf/mail/ are the templates for emails, that's where you would put the ones for a new language if you wanted to create a pull request. The files under conf-custom are for local config file overrides, those are never supplied by ISPConfig.
Hm! I know, I know... bumping up a 6-year-old thread, but I went through it and I also believe that this could get some improvements. At the very least, when changing the Administrators name and Administrators email, these ought to replace the ISPConfig <[email protected]> line (somehow). Maybe the interface could simply make a copy of the relevant welcome_email_en.txt to /usr/local/ispconfig/server/conf-custom/mail. But this does not address the issue of having different templates for different domains...