Thank you very much for the best free system.
I'm newbie php code.
In my case all feature is work good but I found some problem about sending Email for approve.
I test setting following (PHP higher than 5.2.6)
$smtp_settings['host'] = 'mail.mycompany.com'; // SMTP server
$smtp_settings['port'] = 25; // SMTP port number
$smtp_settings['auth'] = TRUE; // Whether to use SMTP authenticatio
$smtp_settings['username'] = 'xxxxxx'; // Username (if using authentication)
$smtp_settings['password'] = 'xxxxxx'; // Password (if using authentication)
when set auth is TRUE system cannot send any Email. (When booking web is error but can book normal when refresh page)
when set auth is FALSE system can send email but can send only domain the same " $smtp_settings['host'] mail.mycompany.com " cannot send to other domain.
It work fine on
MRBS 1.4.11
PHP: 5.2.6
apache 2.2.8
But my host is
MRBS 1.4.11
MySQL 5.1.69
PHP: 5.3.3
have the same problem too. (Email not send)
How to config to use send mail in normally
I need your help.
Thank you so much.
Best regards
Are these two different servers you are testing on? If so, I doubt that the issue is to do with the version of PHP. Have you tried sending SMTP mail using those details from another application (eg an email client)?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Bugs"
Thank you for your reply
On Local
Yes I test more than two server (@mycompany.com) use XAMPP 5.6.3 error on debug page
Error page
DEBUG] Preparing email for new or changed booking ...
[DEBUG] Preparing to send email ...
After I change to AppServ 2.5.10 email can send normally.
I test setting email client eg outlook can use normally.
More detail
First time I use XAMPP V 5.6.3 have problem about send Email.I changed to AppServ 2.5.10 email can send normally.
XAMPP: https://www.apachefriends.org/index.html
Appserv: http://www.appservnetwork.com/modules.php?name=News&file=article&sid=46
Online
Now I want to upload this system on hosting for online. I have error when booking
Error code:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
I press back page. User can booking but system not sending email.
Hosting system:
MRBS 1.4.11
MySQL 5.1.69
PHP: 5.3.3
Thank you
Best regards
Can you look at the server error log and see what the error message is?
Hmm, I've got problems sending email via SMTP with authentication on my test system too. When I perform an action that sends an email the action takes a long time - on the server I can see the SMTP connection though:
tcp 0 0 localhost:37384 localhost:smtp ESTABLISHED
This is with trunk MRBS, PHP 5.6.1
I've just tested with trunk and PHP 5.6.5. SMTP mail works OK, though it maybe adds a couple of seconds.
Anonymous - have you checked that the port (465?) that you're using to connect to the SMTP server on your system is open?
Well, oddly enough, looking at a network capture with my failure when using SMTP authentication looks like:
I've not explicitly configured TLS...
The following from Net_SMTP.php would explain that:
Sorry, both sides of the SMTP conversation this time:
If I force 'Mail_smtp' to tell Net_SMTP to not use TLS for auth (and configure my mail server to allow auth without TLS) then the issue goes away.
So, it looks to be to do with Net_SMTP's TLS support.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "DO NOT USE - Bugs"
Email alert using backend method smtp is still not working. my config details
Last edit: Campbell Morrison 2016-03-31
Is this related to this ticket? Or is this a different problem?