4 added 17 characters in body
source | link

You just need to apply this below changes on this path :-

Magento\Newsletter\Model\Subscriber.php

    public function confirm($code) {

       if ($this->getCode() == $code) {
          $this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save();

         $this-> sendConfirmationSuccessEmail>sendConfirmationSuccessEmail();

         return true;
       }

         return false;

    }

Clear cache and check your output.

You just need to apply this below changes on this path :-

Magento\Newsletter\Model\Subscriber.php

    public function confirm($code) {

       if ($this->getCode() == $code) {
          $this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save();

         $this-> sendConfirmationSuccessEmail();

         return true;
       }

         return false;

    }

Clear cache and check your output.

You just need to apply this below changes on this path :-

Magento\Newsletter\Model\Subscriber.php

    public function confirm($code) {

       if ($this->getCode() == $code) {
          $this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save();

         $this->sendConfirmationSuccessEmail();

         return true;
       }

         return false;

    }

Clear cache and check your output.

3 added 69 characters in body
source | link

You just need to apply this below changes on this path :-

Magento\Newsletter\Model\Subscriber.php

    public function confirm($code) 
 { 

       if ($this->getCode() == $code) {
    {
        $this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save(); 

         $this-> sendConfirmationSuccessEmail(); 

         return true;
       } 

         return false; 

    }

Clear cache and check your output.

You just need to apply this below changes on this path :-

Magento\Newsletter\Model\Subscriber.php

public function confirm($code) 
 {
    if ($this->getCode() == $code) 
    {
        $this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save();
        $this-> sendConfirmationSuccessEmail();
        return true;
    }
    return false;
}

Clear cache and check your output.

You just need to apply this below changes on this path :-

Magento\Newsletter\Model\Subscriber.php

    public function confirm($code) { 

       if ($this->getCode() == $code) {
          $this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save(); 

         $this-> sendConfirmationSuccessEmail(); 

         return true;
       } 

         return false; 

    }

Clear cache and check your output.

2 deleted 54 characters in body
source | link

You just need to apply this below changes on this path :-

Magento\Newsletter\Model\Subscriber.php

    public function confirm($code) {
{
    if ($this->getCode() == $code) 
    {
        $this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save();
 
        $this-> sendConfirmationSuccessEmail();
 
        return true;
    }
 
       return false;
 
    }

Clear cache and check your output.

You just need to apply this below changes on this path :-

Magento\Newsletter\Model\Subscriber.php

    public function confirm($code) {

    if ($this->getCode() == $code) {
       $this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save();
 
       $this-> sendConfirmationSuccessEmail();
 
       return true;
    }
 
       return false;
 
    }

Clear cache and check your output.

You just need to apply this below changes on this path :-

Magento\Newsletter\Model\Subscriber.php

public function confirm($code) 
{
    if ($this->getCode() == $code) 
    {
        $this->setStatus(self::STATUS_SUBSCRIBED) ->setStatusChanged(true) ->save();
        $this-> sendConfirmationSuccessEmail();
        return true;
    }
    return false;
}

Clear cache and check your output.

1
source | link