1 lefataliste Jan 24, 2016 16:51
3 lefataliste Jan 24, 2016 23:05
4 fplanque Jan 24, 2016 23:54
First thing you should screenshot are your notification preferences: http://b2evolution.net/man/disp-subs
I looked at the help base and realized that in fact the messages are no longer sent by php. :(
Where did you see that ?
5 lefataliste Jan 24, 2016 23:59
@lefataliste wrote earlier:
Missing screenshots of your settings...
[...]
I'll come back when I finish the tests if necessary.
Sorry. Jacques
So, the mail() function is Ok on y server.
I'm back with my question : which settings should I post ?
6 fplanque Jan 25, 2016 00:01
I answered that above already.
7 lefataliste Jan 25, 2016 00:05
First thing you should screenshot are your notification preferences: http://b2evolution.net/man/disp-subs
> I looked at the help base and realized that in fact the messages are no longer sent by php. :(
Where did you see that ?
No this was a wrong interpretation of the Emails/Sent list. All mails are marked "error". So I tested the mail function in php and it works correctly. For the settings you are asking for, I have some difficulties : everything changed since v4 :( I look furtther
8 lefataliste Jan 25, 2016 00:10
First thing you should screenshot are your notification preferences: http://b2evolution.net/man/disp-subs
I cannot read this link ! it's all blurred :(
9 lefataliste Jan 25, 2016 00:23
@lefataliste wrote earlier:
First thing you should screenshot are your notification preferences: http://b2evolution.net/man/disp-subs
I cannot read this link ! it's all blurred :(
Ok, I think that you are willing to see my user/notification.
It's all correct but it won't fit in a sigle shot...
10 lefataliste Jan 25, 2016 00:25
@lefataliste wrote earlier:
@lefataliste wrote earlier:
First thing you should screenshot are your notification preferences: http://b2evolution.net/man/disp-subs
I cannot read this link ! it's all blurred :(
Ok, I think that you are willing to see my user/notification.
It's all correct but it won't fit in a sigle shot...
second half of my settings.
11 lefataliste Jan 25, 2016 00:51
may be it's a problem with the cronjob ? previoulsy in v4 i used to read the incoming messages to post with a cronjob calling getmail.php which is now invalidated. SO how does this works now ??
Should I add a call to cron_exec.php ? apparently this is not the case in my current cronjob, and I do not remember if it ever was - I'm using b2evo since quite long without major problem and I forgot what were the original settings :(
12 fplanque Jan 25, 2016 16:04
@lefataliste wrote earlier:
No this was a wrong interpretation of the Emails/Sent list. All mails are marked "error". So I tested the mail function in php and it works correctly. For the settings you are asking for, I have some difficulties : everything changed since v4 :( I look furtther
If all your emails are marked "error" as you write above, then please show us that with a screenshot. I don't want to guess what your situation is, I need to see it.
Note: everything looks correct on the screenshots you posted above.
13 lefataliste Jan 25, 2016 17:03
Hello François
it seems that you are a thomist : an adept of "I believe what I see" ;)
I knew that my settings are correct.
They are unchanged since I created my blog. And they were working perfectly in v4...
Similarly my server is the same and its settings unchanged.
The only difference is v6.
As for the "sent messages" they are all in error as I said (now you may see it ;)
14 lefataliste Jan 25, 2016 17:36
I add a new piece of information. Here is what my hosting provider says
(I'm not sure to understand exactly what that means)
Sending e-mails through the server from a website, without authentication.
To send an email from your site, it's best you use the mail() PHP function and not send email via the SMTP servers. In that case you shouldn't give a sender email address (leave the relevant box blank). The use of the mail() function is indeed simplified because it isn't necessary to manage the presence of an SMTP server nor know a specific address or configure anything.
Remember that the PHP mail() function is compatible with hosting without email service (Web Only).
Sometimes, certain scripts or some CMS don't allow you to leave the sender fields empty when using this function. In that case the mail() function will not work.
You can then send emails using a real SMTP connection just as for an email program.
Concerning Perl scripts only, you can also use sendmail() (in this case the path being /usr/sbin/sendmail), or specify localhost" as the SMTP server, be aware that the server where your site is hosted has its own mail server.
You therefore need to add to your config:
$smtp_server = "localhost";
Link to this FAQ: https://faq.infomaniak.com/420
15 fplanque Jan 25, 2016 19:22
No, the real mantra is: a picture is worth a thousand words. And it's worth even more words if those words are not in your native language.
I understand your problem now. Thank you also for the Infomaniak FAQ.
I'll be back with answers.
16 fplanque Jan 25, 2016 19:43
I made some quick additions to the following manual pages:
I think you either need to tweak the params passed to the mail() function (see second link above) or configure an external SMTP gateway (go through first link).
This is all I have time for right now, sorry.
PS: on your screenshot, all the icons are broken. Do you know why? Thanks.
17 fplanque Jan 25, 2016 22:13
Infomaniak's FAQ says:
In that case you shouldn't give a sender email address (leave the relevant box blank).
Dans ce cas il faut impérativement ne pas spécifier d'adresse mail d'expéditeur (laisser le champ correspondant vide).
This is not serious. It means you don't control the sender address and you will either have a dirty From address or it will use your personal email address. Either case is not desirable for transactional emails from your website and it certainly doesn't look professional.
Therefore I would recommend you configure an SMTP gateway as they themselves recommend: http://b2evolution.net/man/smtp-gateway-settings
18 lefataliste Jan 26, 2016 01:37
Thank you François,
1/ I already tried to use SMTP, but it won't work :(
I have the following error message : "Les fonctions PHP proc_* ne sont pas disponibles sur ce serveur."
2/ I agree that the Infomaniak help on the mail function is somewhat weird. In fact I tried a small script with all the parameters (To, From, Reply-to, X-Mailer) and the message was sent with the good parameters. So I shall try to follow what you suggest and look inside the "_advanced" script. I'll keep you informed.
3/ broken icons : this was the next question that I was going to ask. All these small icons are missing. May be a problem with the permissions (privilege ? you're right I'm not native English) of some sub dir - but which ? I do not knw where these icons are stored.
take care.
Jacques
19 lefataliste Jan 26, 2016 02:19
@lefataliste wrote earlier:
3/ broken icons : this was the next question that I was going to ask. All these small icons are missing. May be a problem with the permissions (privilege ? you're right I'm not native English) of some sub dir - but which ? I do not knw where these icons are stored.
I spent some time rummaging around and I found that my back-office skin defaulted to bootstrap. Selecting Chicago solved the icons problem.
JL
20 lefataliste Jan 26, 2016 02:44
I made some quick additions to the following manual pages:
- http://b2evolution.net/man/sent-emails
- http://b2evolution.net/man/email-notifications-don-t-work
I think you either need to tweak the params passed to the mail() function (see second link above) or configure an external SMTP gateway (go through first link).
So the problem is solved by emptying the var $sendmail_additional_params in _advanced.php
Thanks a lot for your help, François
Take care.
Jacques
21 fplanque Jan 26, 2016 03:12
For email sending, have you tried with -f
instead of -r
. If it works, it's better than to use an empty string. http://b2evolution.net/man/advanced-php
For the icons, we are going to kill that old Chicago skin soon. It's badly obsolete.
The icons come front front-awesome which should be loaded similar to the screenshot below. (as you can see, you also need font awesome in the front office)
What web browser/version/OS do you use? Can you activate the dev tools/dev panel and make a screenshot similar to the one below?
22 lefataliste Jan 26, 2016 11:32
For email sending, have you tried with
-f
instead of-r
. If it works, it's better than to use an empty string. http://b2evolution.net/man/advanced-php
Yes François, I also tried '-f' and the message was not sent (Error)
Only the empty var works. May be this is what Infomaniak meant when they say " you shouldn't give a sender email address " ?
Ok, I consider this problem fixed on my side.
Thanks again. sorry for the delay, but my last answer was posted at 2:44 am and it was time for me to sleep a little bit ;)
Jacques
23 lefataliste Jan 26, 2016 11:37
For the icons, we are going to kill that old Chicago skin soon. It's badly obsolete.
The icons come front front-awesome which should be loaded similar to the screenshot below. (as you can see, you also need font awesome in the front office)
What web browser/version/OS do you use? Can you activate the dev tools/dev panel and make a screenshot similar to the one below?
I use the latest version of Firefox (presently 44) running in Win10.
I show you the "Network" option of the Dev tools as requested. The first is with my principal blog (skin evopress).
24 lefataliste Jan 26, 2016 11:46
@lefataliste wrote earlier:
I use the latest version of Firefox (presently 44) running in win10. I show you the "Network" option of the Dev tools as requested. The first is with my principal blog (skin evopress).
As you've seen in the previous post, there is no font-awsome.
The second screenshot is taken while in back-office (boostrap)
There is indeed a font-awsome css loaded but apparently no webfont !
(yes I know... my connection is very slow)
Jacques
25 fplanque Feb 03, 2016 22:42
Very weird. I tried it in FF and it works.
Maybe there is a problem with loading from bootstrapcdn.com for you... In version 6.6.8 we'll load that file from the same server as everything else to avoid potential issues.
26 lefataliste Feb 04, 2016 15:19
Very weird. I tried it in FF and it works.
Maybe there is a problem with loading from bootstrapcdn.com for you... In version 6.6.8 we'll load that file from the same server as everything else to avoid potential issues.
Yes I loaded the files locally and it works well.
So it's just a problem of connection. I think that it's a good thing that the next version address this question, since I'm probably alone in the world having a poor Internet connection ;)
Than you.
jacques
Missing screenshots of your settings...