Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
IOS Hotels
and
IOS Rentals
online booking systems for Elxis CMS.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
updated to 5.2 mail error
« previous
next »
Print
Pages: [
1
]
Author
Topic: updated to 5.2 mail error (Read 4640 times)
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
updated to 5.2 mail error
«
on:
April 19, 2021, 18:27:39 »
Hello everyone,
I updated to 5.2 very easy and successfully but now the site appears to have a mail problem.
The site uses anyform and when the form is complete and sent, the error message displays:
The form was submitted successfully but the e-mail delivery failed. Please try again.
No changes were made to the email parameters. Any ideas?
Thanks in advance.
Logged
Bournias.net
Blacksoll
Full Member
Posts: 111
Re: updated to 5.2 mail error
«
Reply #1 on:
April 19, 2021, 18:54:40 »
Updated two days ago & I use anyform too but no problems here. Contact form works ?
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: updated to 5.2 mail error
«
Reply #2 on:
April 19, 2021, 19:47:44 »
I will check the
AnyForm
plugin for compatibility with Elxis 5.2 and reply you back.
Edit:
I just checked and I don't see any problem. Make sure your mail settings in Elxis configuration are correct.
«
Last Edit: April 19, 2021, 19:55:33 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: updated to 5.2 mail error
«
Reply #3 on:
April 20, 2021, 09:15:44 »
I will check again.
Logged
Bournias.net
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: updated to 5.2 mail error
«
Reply #4 on:
April 20, 2021, 16:26:19 »
Hello Datahell,
I kept a backup of the files:
contact.plugin.php
anyform.plugin.php
because I commented the regards line 567 and 1134 (might be slightly different as I added 2 comment lines at the beginning).
I downloaded anyform again just in case there was some other change.
I replaced both files with the latest files but still have the same problem.
I noticed that you added a new variable $reqmark in the contact.plugin.php
I also tried sending a test email using the control panel email settings.
It displayed sending email to both the designated email account and the technical support account failed.
No mail settings were changed during or after the upgrades.
«
Last Edit: April 20, 2021, 17:17:05 by xmanhattan
»
Logged
Bournias.net
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: updated to 5.2 mail error
«
Reply #5 on:
April 23, 2021, 13:14:52 »
Hello Datahell,
I have just verified the following:
Checked that email account on server exists and that password is the same.
Logged into the email account via webmail and tested it. It works correctly.
I copied / pasted the login pw info from the elxis configuration file.
I copied the entire contact folder from Elxis 5.2 Dione and anyform folder from the downloaded files into
components/com_content/plugins/contact/ over writing all contact files,
components/com_content/plugins/anyform/ and the same for anyform,
then entered into control panel settings email to verify the setting there.
Elxis control panel settings email:
smtp
Port 587
secure connection SSL *** this setting required it be set twice before be recorded correctly.
authentication Login
user name is complete email address, same as in the configuration file.
pw copied / pasted from the configuration file.
Send test mail fails.
Checked directory / file permissions on the server and they are okay 755 / 644.
What am I missing?
Recommendation?
Logged
Bournias.net
webgift
Elxis Team
Hero Member
Posts: 4193
Re: updated to 5.2 mail error
«
Reply #6 on:
April 23, 2021, 14:17:42 »
Dear Peter,
Let's try at first check which files may have been modified or missing or whatever in compare with the main release 5.2.
[Admin area - Menu at left] Extensions > Check file-system > Check file-system.
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: updated to 5.2 mail error
«
Reply #7 on:
April 23, 2021, 16:08:14 »
Hello webgift,
Everything OK. The check didn't found files missing or been modified.
Are there any other component files that I should be looking at for the problem?
Logged
Bournias.net
datahell
Elxis Team
Hero Member
Posts: 10356
Re: updated to 5.2 mail error
«
Reply #8 on:
April 24, 2021, 19:17:32 »
In my initial reply I answered regarding the AnyForm plugin, I see that you write about Contact plugin. My mistake, although the mailer is the same and this should not be the problem.
Peter if you like send me with a personal message with access details to your site administration and to files (ftp or file manager) in order to debug the mailer and locate the problem.
BTW I did some changes in Elxis 5.2 (not yet released) in order for mail problems to be more verbose.
1. The test mail function displays the actual error message from Swift mailer.
2. The sending mail method logs in error log file the actual error message from Swift mailer.
«
Last Edit: April 24, 2021, 19:20:09 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: updated to 5.2 mail error
«
Reply #9 on:
April 25, 2021, 11:00:58 »
Datahell,
I am always looking forward to the improvements.
Elxis is my #1 choice, always has been from when I first started searching for a great CMS and found it!
PM sent. Many thanks.
Logged
Bournias.net
datahell
Elxis Team
Hero Member
Posts: 10356
Re: updated to 5.2 mail error
«
Reply #10 on:
April 25, 2021, 13:08:21 »
Peter I just checked the site. You have not a problem with a specific extension (contact or Anyform plugin). The problem is with your e-mail settings. The SMTP mail server has wrong SSL certificate. I guess it uses the server certificate instead of the domain's or there is a problem related to OpenSSL.
When using port
587
and security
TLS
you get this error:
Unable to connect with TLS encryption
SSL operation failed with code 1.
OpenSSL Error messages:
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:
certificate verify failed
So, I disabled TLS and switched SMTP port to
25
. Now it works OK. If you want to use TLS/SSL then first fix the certificate on the domain's mail server.
«
Last Edit: April 25, 2021, 13:56:35 by datahell
»
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
xmanhattan
Hero Member
Posts: 1235
If I'm still breathing, I'm doing something!
Re: updated to 5.2 mail error
«
Reply #11 on:
April 25, 2021, 13:27:49 »
Datahell,
I never thought that the SSL would create the problem. I notify the hosting provider about it.
Thanks again.
Logged
Bournias.net
datahell
Elxis Team
Hero Member
Posts: 10356
Re: updated to 5.2 mail error
«
Reply #12 on:
April 25, 2021, 13:59:46 »
If you search the internet for "SSL3_GET_SERVER_CERTIFICATE" you will find some fixes like this:
https://linuxconfig.org/routines-ssl3-get-server-certificate-certificate-verify-failed
However I think you can use port 25, it is not that important to use 587. The problem can also be bypassed if you set verify_peer option to false in Elxis mailer (Swift).
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
General
(Moderators:
Ivan Trebješanin
,
Farhad Sakhaei
) »
updated to 5.2 mail error