Jump to content

How Can I Use Phpmailer In Prestashop


Recommended Posts

it is not something you can configure. 

 

1) you first need to download and install phpmailer somewhere on your server

2) You then need to reprogram the Prestashop Mail class so that it uses phpmailer instead of the swiftmailer library

Share this post


Link to post
Share on other sites

2) how to reprogram the Prestashop Mail class so that it uses phpmailer instead of the swiftmailer library

 

using a text editor and applying a knowledge of PHP programming

Share this post


Link to post
Share on other sites
  • 4 weeks later...

@fatheeym

I think @bellini13 and other members have answered your questions. 

what you need to do is to override the existing Mail.php class and use mail() function to implement logic of Mail:Send(). You may need to know the specification of mail()  first.

http://php.net/manual/en/function.mail.php

 

and then try to understand what is the logic in the Mail:SendI(). it is very difficult to write more detailed instructions here, you need to Google and find more tutorials.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More