« Project home page
my little forum
Log in
Register
Search:
Back to the entry by Auge
Post reply
Reply to the message by
Auge
Name:
E-mail:
(optional, won't be displayed directly)
Leave this field empty:
Homepage:
(optional)
Leave this field empty:
Location:
(optional)
Remember me (cookie)
Category:
General
Project organisation
Technics
Design/Themes
Features
Development
Todo
Bugs
German / Deutsch
Spanish / Español
French / Français
Accessibility/UX
Subject:
Formatting help
skip to input
format text bold
[b]bold text[/b]
format text italic
[i]italic text[/i]
insert hyperlink
[link=http://example.com/]link text[/link] / [link]http://example.com/[/link]
set text color
[color=#rgb]colored text[/color]
font size
[size=small]small text[/size]
[size=large]large text[/size]
insert list
[list][*]list item[/list]
insert image
[img]http://example.com/image.jpg[/img]
left: [img=left]http://example.com/image.jpg[/img]
right: [img=right]http://example.com/image.jpg[/img]
thumbnail: [img=thumbnail]http://example.com/image.jpg[/img]
thumbnail left: [img=thumbnail-left]http://example.com/image.jpg[/img]
thumbnail right: [img=thumbnail-right]http://example.com/image.jpg[/img]
upload image
upload image ...
insert TeX code
[tex]TeX code[/tex]
insert code
[inlinecode]code[/inlinecode]
[code]code[/code]
[code=css]code[/code]
[code=html]code[/code]
[code=javascript]code[/code]
[code=perl]code[/code]
[code=php]code[/code]
[code=sql]code[/code]
[code=xml]code[/code]
:-)
;-)
:-P
:-D
:-|
:-(
:yes:
:no:
:ok:
:lol:
:lol2:
:lol3:
:cool:
:surprised:
:angry:
:crying:
:waving:
:confused:
:lookaround:
:clap:
:love:
:tick:
Message:
> > I've just found something interesting while checking the email header. > > > > It reads like this: > > > > [b]From: Text@dd39012.kasserver.com, Forum@dd39012.kasserver.com, > > nicht =?UTF-8?Q?=C3=B6ffentlich=2C=20nur=20f=C3=BCr=20Mitg?= =?UTF-8?Q?lieder?= <Forum <info@domain.de>>[/b] > > > > However, the email in the settings reads: > > > > [b]Forum <info@domain.de>[/b] > > Why this? The settings should only contain the e-mail-address in itself, [i][b]not[/b][/i] a text like [inlinecode]Forum <mail@example.com>[/inlinecode]. The forum script [link=https://github.com/ilosuna/mylittleforum/blob/2.4.24/includes/functions.inc.php#L2377]does the stitching of the forum name and e-mail-address by itself[/link]. > > > The title of the Forum is set to: > > > > [b]Forum, nicht öffentlich, nur für Mitglieder[/b] > > > > After changing this to just "Forum" it seems to work. > > > > What am I missing here? > > The questionable setting above led to an invalid From-header. The header field [inlinecode]From[/inlinecode] contains a comma separated list of e-mail-adresses ([inlinecode]From: info@example.com[/inlinecode]) or mailboxes ([inlinecode]Forum <info@example.com>[/inlinecode]). Your forum name stands alone for itself and breaks the necessary format. It must be: [inlinecode]Forum <info@example.com>[/inlinecode], but is (according to your posting): [inlinecode]Forum name <Forum <info@example.com>>[/inlinecode]. > > That's documented in your own example. We will inspect it from outer to inner side. The next code block contains the whole content of the From-header. The first two addresses got added [i]after[/i] delivering the e-mail with the function [inlinecode]mail[/inlinecode] to the mail relay of your provider. > > [code] > Text@dd39012.kasserver.com, Forum@dd39012.kasserver.com, nicht =?UTF-8?Q?=C3=B6ffentlich=2C=20nur=20f=C3=BCr=20Mitg?= =?UTF-8?Q?lieder?= <Forum <info@domain.de>> > [/code] > > If we remove the two addresses that got added by the mail relay (these are [i]technically[/i] valid entries) we will get the following. > > [code] > nicht =?UTF-8?Q?=C3=B6ffentlich=2C=20nur=20f=C3=BCr=20Mitg?= =?UTF-8?Q?lieder?= <Forum <info@domain.de>> > [/code] > > The first part is the Name of your forum, encoded to be transported in UTF-8 followed by the generated output with your broken setting. > > Only the forum name: > > [code] > nicht =?UTF-8?Q?=C3=B6ffentlich=2C=20nur=20f=C3=BCr=20Mitg?= =?UTF-8?Q?lieder?= > [/code] > > Now to the broken part of the sender mailbox. > > The name (set by the forum script and shown above) is followed by the [i]wrong [/i]setting for the e-mail-address of the forum. The outer brackets got added in the function my_mail, the inner brackets was added to the wrong formatted setting of the address by you. > > [code] > <Forum <info@domain.de>> > [/code] > > With a clean setting for the forum e-mail-address ([inlinecode]info@domain.de[/inlinecode], not [inlinecode]Forum <info@domain.de>[/inlinecode]) the mailbox entry would look like this: > > [code] > nicht =?UTF-8?Q?=C3=B6ffentlich=2C=20nur=20f=C3=BCr=20Mitg?= =?UTF-8?Q?lieder?= <info@domain.de> > [/code] > > Going back to > > > After changing this to just "Forum" it seems to work. > > This is a second possible problem. The (old, long) name contains commata. Commata separates the entries in the From-header, so the From-header contains the following sender entries (not encoded): > > - Text@dd39012.kasserver.com > - Forum@dd39012.kasserver.com > - Forum > - nicht öffentlich > - nur für Mitglieder <Forum <info@domain.de>> > > The senders [inlinecode]Forum[/inlinecode] and [inlinecode]nicht öffentlich[/inlinecode] are invalid, the last entry [inlinecode]nur für Mitglieder <Forum <info@domain.de>>[/inlinecode] anyway. I would expect the forum name to be safe because of its encoding. But it not seems to be so. > > Please try sending e-mails with a forum name [i]with more than one word[/i] but [i]without commata[/i] and a corrected setting of the forums own e-mail-address (only the address in itself). > > Tchö, Auge
E-mail notification on reply of this posting
OK - Submit
Preview