Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Install and use PhpMailer?

Discussion in 'E-mail Discussion' started by amjavier, Nov 22, 2017.

  1. amjavier

    amjavier Registered

    Joined:
    Nov 22, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    dubai
    cPanel Access Level:
    Root Administrator
    Hi,

    I'm very sorry but I'm very newbie in CPanel.
    I'm trying to research how can i use the PhpMailer, do i need to install this?
    is there a guide how can i install and use PhpMailer?

    Thank you very much for any direction you will reply to my query.

    Ariel
     
  2. kdean

    kdean Well-Known Member

    Joined:
    Oct 19, 2012
    Messages:
    285
    Likes Received:
    20
    Trophy Points:
    18
    Location:
    Orlando, FL
    cPanel Access Level:
    Root Administrator
  3. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    823
    Likes Received:
    299
    Trophy Points:
    113
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Search for phpmailer in YouTube - you will find a number of useful video tutorials.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. linux4me2

    linux4me2 Well-Known Member

    Joined:
    Aug 21, 2015
    Messages:
    201
    Likes Received:
    47
    Trophy Points:
    28
    Location:
    USA
    cPanel Access Level:
    Root Administrator
    The big decision is where to install PHPMailer.

    If you have a number of accounts on our server that you want to give access to PHPMailer, rather than install it for each account, you can install one instance of PHPMailer in /opt/cpanel/ea-php70/root/usr/share/pear/PHPMailer, or another include path for the primary version of PHP you're running. That way, you can use Composer to keep the single installation of PHPMailer up-to-date, and since it's in the include path, any site that's using that version of PHP can use it.

    If you want to offer it for more than one version of PHP, you can add a symlink in the /root/usr/share/pear/ folder corresponding to the version of PHP that points to the actual PHPMailer installation. That way, you only have to maintain one instance of PHPMailer.

    Using Composer has been the easiest method of maintaining PHPMailer, though the link at Github will describe both the Composer and non-Composer installs.
     
  5. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    The previous posts should help. Let us know if you have additional questions.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice