Elxis CMS Forum

Support => General => Topic started by: xmanhattan on August 22, 2017, 13:04:32

Title: email problem after 4.6 update
Post by: xmanhattan on August 22, 2017, 13:04:32
Hello all,

I have just updated to 4.6 and I noticed a problem with the contact form displaying "email not sent".
In the admin under e-mail, I clicked on send test email and it displayed "sending email from xxx to xxx failed".
I just tested the hosting server and it is sending email normally.
No changes to the config file was made.
Please advise.
Title: Re: email problem after 4.6 update
Post by: datahell on August 23, 2017, 09:30:22
There is a new configuration setting in emails. Have you set it properly?
Title: Re: email problem after 4.6 update
Post by: xmanhattan on August 23, 2017, 09:53:55
Oh, I just looked at a local copy that has not been updated and noticed that you have added an Authentication method.

I have the outgoing server port set to 587.
I tried setting the Authentication method to LOGIN and PLAIN TEXT but it didn't work.
No ssl is in use.

Title: Re: email problem after 4.6 update
Post by: datahell on August 23, 2017, 12:21:52
587 is a TLS port, 25 is plain text
Title: Re: email problem after 4.6 update
Post by: xmanhattan on August 23, 2017, 19:09:44
Hello Datahell,

I changed the email method from phpmail to smtp after testing with various settings.

Settings that worked were, noted for others:
host                                 mail.domain-name.tld
port                                 587
Secure connection           TLS
Authentication required  Yes
Authentication method    LOGIN

I am not sure as to why phpmail did not work.


Title: Re: email problem after 4.6 update
Post by: datahell on August 26, 2017, 22:28:52
With php mail you send emails from your server (99.9%) anonymously. This makes emails sent that way more likely to be considered as spam. If you cant use php mail then most probably it is disabled by your server setup. You should not use php mail. The settings Elxis has regarding authentication are for SMTP, not for php mail. Recommended method to use is SMTP. Your settings are useless to others as they may be totally different on other servers. You should contact your hosting provider for the proper email settings to use.
Title: Re: email problem after 4.6 update
Post by: komang on September 04, 2017, 13:45:53
Hi Datahell,

I just aware about this. Previously, I used php mail, then I changed it to SMTP. It works. I fill the form on SMTP options by following the guidance that available on my hosting website.

Thanks

Regards,

Komang