Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 class.smtp.php phpmailer version number
Author « Topic »  

outofnowhere
Advanced Member

USA
134 Posts

Pre-sales questions only
(More Details...)

Posted - 07/10/2019 :  08:55:06  
Hi,

My web server is throwing a warning regarding the PHPmailer version. I see the file class.smtp.php is calling an old version of phpmailer. It says:

class SMTP
{
/**
* The PHPMailer SMTP version number.
* @var string
*/
const VERSION = '5.2.26';

When I visit https://github.com/PHPMailer/PHPMailer/ it says the most recent version is 6.0.7.

Am I missing something? Should we be calling the most recent version?

Thanks for your help.

Phil
ECT Moderator

United Kingdom
7622 Posts

Posted - 07/10/2019 :  09:45:51  
Hi MaryBeth,
The phpmailer files are now part of the updater and you can enter all the mail credentials in the main settings of the admin, so the way forward is to update to the latest version - https://www.ecommercetemplates.com/updaters.asp



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

outofnowhere
Advanced Member

USA
134 Posts

Pre-sales questions only
(More Details...)

Posted - 07/15/2019 :  12:08:41  
I am referring to the following code. I believe it is triggering a warning on my server.

/**
* PHPMailer RFC821 SMTP email transport class.
* Implements RFC 821 SMTP commands and provides some utility methods for sending mail to an SMTP server.
* @package PHPMailer
* @author Chris Ryan
* @author Marcus Bointon <phpmailer@synchromedia.co.uk>
*/
class SMTP
{
/**
* The PHPMailer SMTP version number.
* @var string
*/
[red][size=2] const VERSION = '5.2.26';[/size=2][/red]

insight
ECT Moderator

USA
4476 Posts

Posted - 07/15/2019 :  12:22:27  
The 5.2-stable branch is the correct branch to use. Current is 5.2.27, so if you want you could download the latest code from here https://github.com/PHPMailer/PHPMailer/tree/5.2-stable (green button >> download zip) and then send the following two files to your server:

class.smtp.php
class.phpmailer.php

That will put you on the latest version


Peter


Professional ecommerce web hosting services
Shared hosting Windows & Linux | Dedicated servers | Domains | SSL
Ecommerce Templates specialists since 2003
https://servelink.com

Vince
Administrator

42479 Posts

Posted - 07/15/2019 :  13:47:42  
Hi All
I've updated the PHP Mailer files in the updater now, so if you get a new copy of the updater and copy the files...

class.smtp.php
class.phpmailer.php

...to your server, it should sort out this warning.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000