Author Topic: Newsletter error  (Read 5484 times)

Offline rumen

  • Posts: 452
  • Gender: Male
Newsletter error
« on: November 15, 2018, 09:36:26 PM »
Hi there,

I got error when I try to subscribe to Newsletter. I use WB2.12 and Newsletter v.0.20, which jacobi22 sent me early. The error is:

Code: [Select]
Error: An error occurred while sending an activation link to the email address rzaprianov(at)

Please contact support.

The version of the module newsletter is attached to one message here where I got same problem about year and a half before, but I got to change the CMS then for clients reason and didn't dig more to fix it.

Any idea how to fix it?



Offline Gast

  • Posts: 5920
Re: Newsletter error
« Reply #1 on: November 15, 2018, 11:08:21 PM »
problem is located - i need some minutes

Offline Gast

  • Posts: 5920
Re: Newsletter error
« Reply #2 on: November 15, 2018, 11:27:28 PM »
problem is a own mailer inside of the class newsletter. i make's no sense for me, because, wb has a good working mail function

multiple lines in p on different places - search for if ($this->textOnly)

Code: [Select]
if ($this->textOnly) {
        $result = $this->mail($this->fromEMail,$this->fromEMail,nl_subject_admin_send_link, sprintf(nl_mail_admin_send_link,$this->toEMail,$thisLink));  }
      else {
        $result = $wb->mail($this->fromEMail,$this->fromEMail,nl_subject_admin_send_link, sprintf(nl_mail_admin_send_link,$this->toEMail,$thisLink));  }

change to

Code: [Select]
$result = $wb->mail($this->fromEMail,$this->fromEMail,nl_subject_admin_send_link, sprintf(nl_mail_admin_send_link,$this->toEMail,$thisLink));
@ Rumen: the mail is on the way  ;-)

one more...
if you get the message in frontend like

Invalid address: (setFrom) name(at)gmail(dot)com

you have the wrong droplet call



red = Name of the Droplet
green = Name of the Group in MassMail
blue = mailadress of the admin for the newsletter, use here @ and point instead of [at] and (dot) like the module description

« Last Edit: November 15, 2018, 11:44:45 PM by jacobi22 »