1 elfrhys Mar 07, 2014 03:58
3 elfrhys Mar 10, 2014 22:06
According to my webhost, either the from or to email has to be based on their server in order for the mail to send correctly...which explains why it only worked for the one email hosted there. Where do I need to go in settings (or in php somewhere) to set a specific "from" email? I changed the email for the admin account, but that didn't fix the problem, so I'm assuming there's some other setting?
Angela
4 mgsolipa Mar 12, 2014 07:11
Please, check that your email notifications settings are correct according your hosting provider requirements (http://b2evolution.net/man/back-office-reference/email-processing/email-notification-settings). I mean, the Sender email address: should be an address in your own domain.
Regards!
5 elfrhys Mar 14, 2014 02:36
That's what I haven't been able to find! When I log in to the admin account, I don't have any tab or link to Email settings as described on that page. Is it somewhere different in version 4.1.3?
Angela
6 mgsolipa Mar 18, 2014 06:54
Hi @elfrhys,
Before to make any other comment, I would like to recommend you to upgrade to the latest released version (5.0.8 - http://b2evolution.net/downloads/index.html), it's a quite simple process.
Having said that, to make this changes in your current version, you will have to modify the file _advanced.php
(http://b2evolution.net/man/installation-upgrade/configuration-files/_advanced-php) this way:
1. Look for the variable $notify_from
. It should be around the line 224 and it will look like this:
$notify_from = $instance_name.'-noreply@'.preg_replace( '/^www\./i', '', $basehost );
2. Comment that line by preceding it with to consecutive slashes (//).
3. Below that line, copy and paste only the variable $notify_from
, and assign the email that you want to be taken as default for any outbound message in your site. That section of your _advanced.php
file should look like this:
//$notify_from = $instance_name.'-noreply@'.preg_replace( '/^www\./i', '', $basehost );
$notify_from = "defaultsender@mydomain.com";
Please, let us if this change solves your problem.
Regards!
7 elfrhys Mar 19, 2014 00:21
That's fixed it! Thanks!!!
I did actually try upgrading to start with, but got an error about my php version and had to restore 4.1.3. It told me (and some of the other people looking at the blog) that it couldn't be viewed without a different version of php. I was having trouble figuring out exactly how to fix that, and I certainly didn't want my visitors to run into that error, so I just skipped the upgrade.
Thanks for your help!
Angela
Hello @elfrhys,
Do you know if your users get an error message after to fill and send the register form? (see attach file above)
I think the first thing you need to check is if the email output from your server to different domains is properly working. In order to do that, please read the manual page below:
http://b2evolution.net/man/advanced-topics/troubleshooting/email-notifications-don-t-work
Note: use a general free email account (gmail.com, yahoo.com, outlook.com, etc) to replace
example@yourdomain.com
.Regards!