Since LC 2.2.41 it is possible to set up the SMTP server on the General Settings / Email Options page.
PHPMailer is a PHP class providing a package of functions to send emails. It is used to control sending mail notifications from your LiteCommerce-based online store. Due to certain PHP configuration of your web server or specific firewall settings, the default settings of PHPMailer might need to be changed.
Usually it is enough to modify the default settings in the lib/PHPMailer/class.phpmailer.php file.
If you have some PHP knowledge and are comfortable with editing the file yourself, just read the detailed comments provided for each setting and modify the default settings accordingly. If you are not sure how to do that, feel free to contact our support team to request the necessary modifications.
The following settings need to be modified most often:
- Method to send mail: ("mail", "sendmail", or "smtp").
var $Mailer = "mail";
- SMTP hosts. All hosts must be separated by a semicolon.
var $Host = "localhost";
- Default SMTP server port.
var $Port = 25;
- Sets SMTP authorization.
var $SMTPAuth = false;
- SMTP username.
var $Username = "";
- SMTP password.
var $Password = "";
For more information consult the PHPMailer documentation at http://phpmailer.sourceforge.net/docs/.