Answer the question
In order to leave comments, you need to log in
How to replace mail() with PHPMailer on CMS, DataLife Engine?
Hello everyone, and so the question is this. My hosting has disabled the mail() function, I can’t change it now, but as the technical support told me, you can change the mail() function to the PHP Mailer library. They also gave instructions
In the smtp.class.php file, you need to change the word HELO to EHLO in 2 places
. And in the mail settings, in the admin panel, enter the following settings:
E-mail address of the administrator: [email protected]
SMTP host: tls://mail.ahost. uz
SMTP port: 465
SMTP username: [email protected]
SMTP password: your mailbox password
Answer the question
In order to leave comments, you need to log in
acid.name/?p=2126
Here is an instruction on how to change the SMTP server in DLE, just through the admin panel, you need to do the same only by substituting your settings.
OR you have an old version of DLE that doesn't work with PHPmailer yet
So to all users with the same problem I give the answer. Register a Gmail account, there you will find the SMTP GOOGLE settings, do not take the settings from other sites, all the settings are there on Gmail. The most important thing is that Google has a device login control system. So he recognizes DLE as a dangerous device and blocks it, immediately disable this function in your Google account settings
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question