Difference between revisions of "LiteCommerce:PHPMailer"

From X-Cart 4 Classic
Jump to: navigation, search
(Created page with '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 certa…')
 
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{LC2_disclaimer}}<br /><br />
 +
{{Note|Please note that this article is applicable only to LC versions prior to 2.2.41.<br />
 +
Since LC 2.2.41 it is possible to set up the SMTP server on the General Settings / [[LiteCommerce:General_Settings#Email_Options|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.
 
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.
  

Latest revision as of 12:30, 31 May 2012

Warning.png This article refers to LiteCommerce 2.x only. For user manual to LiteCommerce 3.x, please visit this website.



Note: Please note that this article is applicable only to LC versions prior to 2.2.41.
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/.