Ein CMSimple Support Forum für deutsch sprechende Nutzer und Entwickler
-
Michael_G
- Posts: 191
- Joined: Thu Feb 18, 2016 11:01 pm
-
Contact:
Post
by Michael_G » Wed Aug 12, 2020 3:00 pm
manu wrote: ↑Fri Aug 07, 2020 8:26 am
Hallo zusammen!
CMSimple_XH 1.7.3 wurde gerade freigegeben; die
Release-Ankündigung findet ihr auf cmsimple-xh.org.
Beste Grüsse und viel Freude
manu
Hallo manu,
eben habe ich auf
https://github.com/cmsimple-xh/cmsimple-xh/ gesehen, dass die Version 1.7.2 als „stable“ angezeigt wird.
Ich kann aber aus der Praxis bestätigen, dass auch die Version 1.7.3 stabil läuft.
-
frase
- Posts: 5085
- Joined: Thu Apr 21, 2016 6:32 am
- Location: Saxony
-
Contact:
Post
by frase » Wed Aug 12, 2020 3:10 pm
Ist geändert. (Ich hoffe, ich hab's richtig gemacht)
Danke!
-
manu
- Posts: 1091
- Joined: Wed Jun 04, 2008 12:05 pm
- Location: St. Gallen - Schweiz
-
Contact:
Post
by manu » Wed Aug 12, 2020 4:45 pm
Danke Frank!
-
jgmvdm
- Posts: 13
- Joined: Wed Nov 01, 2017 8:24 am
Post
by jgmvdm » Sun Aug 16, 2020 10:02 am
After updating from CMSimple_XH-update-1.7.2-to-1.7.3 its not possible to send to more then one email-adres from the emailform.
Before update i had 2 email adresses in config.php separated by comma
After removing one adres the mailform was working and email deliverd again.
-
olape
- Posts: 2757
- Joined: Fri Mar 13, 2015 8:47 am
-
Contact:
Post
by olape » Sun Aug 16, 2020 10:19 am
jgmvdm wrote: ↑Sun Aug 16, 2020 10:02 am
After updating from CMSimple_XH-update-1.7.2-to-1.7.3 its not possible to send to more then one email-adres from the emailform.
Before update i had 2 email adresses in config.php separated by comma
After removing one adres the mailform was working and email deliverd again.
I guess it was never officially thought that two or more email addresses would be given, I think.
As of 1.7.3, the e-mail address from the configuration is also used as the sender, since many providers prohibit sending from an unknown e-mail address.
And of course only one e-mail address can be used as sender.
Gruß Olaf,
Plugins for CMSimple_XH
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
-
olape
- Posts: 2757
- Joined: Fri Mar 13, 2015 8:47 am
-
Contact:
Post
by olape » Sun Aug 16, 2020 12:00 pm
https://github.com/cmsimple-xh/cmsimple ... #L155-L175
replace with:
Code: Select all
public function submit()
{
global $cf, $tx;
$header_from = explode(',', trim($cf['mailform']['email'], ' ,'));
$this->mail->setTo($cf['mailform']['email']);
//$this->mail->addHeader('From', $cf['mailform']['email']);
$this->mail->addHeader('From', trim($header_from[0]));
$this->mail->addHeader('Reply-To', $this->sender);
$this->mail->addHeader('X-Remote', sv('REMOTE_ADDR'));
$this->mail->setSubject($this->subject);
$this->mail->setMessage(
$tx['mailform']['sendername'] . $this->sendername . "\n"
. $tx['mailform']['senderphone'] . $this->senderphone . "\n"
. $tx['mailform']['sendermail'] . $this->sender . "\n\n"
. $this->mailform
);
$sent = $this->mail->send();
if (!$sent) {
XH_logMessage('error', 'XH', 'mailform', $this->sender);
}
return $sent;
}
This again allows multiple e-mail addresses to be entered.
The first e-mail address is used as sender.
Gruß Olaf,
Plugins for CMSimple_XH
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
-
lck
- Posts: 2973
- Joined: Wed Mar 23, 2011 11:43 am
-
Contact:
Post
by lck » Sun Aug 16, 2020 2:15 pm
olape wrote: ↑Sun Aug 16, 2020 10:19 am
I guess it was never officially thought that two or more email addresses would be given, I think.
Not officially, but it worked and still works, even with XH 1.7.3 and even after an update from 1.7.2 to 1.7.3. I just tested it again.
cmb wrote: ↑Mon Apr 08, 2013 7:36 pm
Oder meinst Du, dass die selbe Mail an mehrere Adressen verschickt werden soll? Das ist prinzipiell möglich; dazu muss man nur in der Konfiguration die Adressen durch Kommas getrennt angeben:
Code: Select all
admin@example.com,editor@example.com
-
olape
- Posts: 2757
- Joined: Fri Mar 13, 2015 8:47 am
-
Contact:
Post
by olape » Sun Aug 16, 2020 2:35 pm
lck wrote: ↑Sun Aug 16, 2020 2:15 pm
even with XH 1.7.3 and even after an update from 1.7.2 to 1.7.3. I just tested it again.
For me this works in 1.7.3 without any changes too. But maybe it is not the same for all of them.
Otherwise, a mail header with multiple senders in the from field will probably end up in spam much more often.
Last edited by
olape on Sun Aug 16, 2020 6:12 pm, edited 1 time in total.
Gruß Olaf,
Plugins for CMSimple_XH
Ich habe schon lange den Verdacht, dass so viele so eifrig auf Gender, Trans und Queer machen:
Weil sie für das Fachliche ganz einfach zu doof sind.
-
frase
- Posts: 5085
- Joined: Thu Apr 21, 2016 6:32 am
- Location: Saxony
-
Contact:
Post
by frase » Sun Aug 16, 2020 6:02 pm
CMSimple_XH 1.7.3
in
... \plugins\tinymce4\tinymce\plugins\xhplugincall\langs\
liegen nur: DE, CS und SK-Dateien.
Wenn ich eine entsprechende init-Datei wähle (mit plugincall) und dann die Sprache auf Französisch stelle, meckert der Tiny das an.
Eigenartigerweise meckert er bei EN nicht ?
Vielleicht sollten da mindestens noch FR, EN und vielleicht ein paar andere Sprachen nachgeliefert werden - oder?
-
jgmvdm
- Posts: 13
- Joined: Wed Nov 01, 2017 8:24 am
Post
by jgmvdm » Sun Aug 16, 2020 7:24 pm
cmb wrote: ↑Mon Apr 08, 2013 7:36 pm
Oder meinst Du, dass die selbe Mail an mehrere Adressen verschickt werden soll? Das ist prinzipiell möglich; dazu muss man nur in der Konfiguration die Adressen durch Kommas getrennt angeben:
Code: Select all
admin@example.com,editor@example.com
[/quote]
I used google translate:
Ja, so habe ich es immer benutzt.
Ich weiß jetzt, dass dieselbe E-Mail, die ich über das Formular an mehrere Adressen sende, nicht an Google Mail gesendet wird.
Beispiel:
xxx@gmail.com,
xxx@uvh.nl
xxx@gmail.com wird nicht zugestellt, auch nicht in der Spam-Box
xxx@uvh.nl wird geliefert
Wenn ich das Mailformular an eine einzelne Google Mail-Adresse gesendet habe, wird es zugestellt.
Es scheint mir also eher ein Google Mail-Problem zu sein