Newsletters can be sent only to published and active users

Phoca Email (Newsletter) - sending emails and managing newsletters in Joomla! CMS
astrasser
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Mar 2023, 16:39

Newsletters can be sent only to published and active users

Post by astrasser »

This means that all subscribers need also a joomla account?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Newsletters can be sent only to published and active users

Post by Jan »

Hi, no, user can be published and actived even he/she does not have any account on the site. Usually, user is active when he/she confirm the newsletter email.

Jan
If you find Phoca extensions useful, please support the project
astrasser
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Mar 2023, 16:39

Re: Newsletters can be sent only to published and active users

Post by astrasser »

Hello Jan

Thank you for the replies. I will try to explain the situation in this post.

I am using another form component (I don't want to have different forms) and I have no direct connection, therefore I have a field in the form "I am interested in the newsletter". The user has to commit the privacy policy. I will get the mail from the form and see that he is interested in the newsletter.
Now I will add the user manually in the subscriber list. I have now no chance to get the switch "Datenschutz-Bestätigung" to true. I have to activate the user to have the chance to send a spezial activation newsletter. If i click now to the activation link in the mail, I will be asked to log-In. Is there a switch in the configuration? or I will get the message "Warnung
Die Sitzung ist abgelaufen, bitte erneut anmelden.". I don't know why.

The description of the mail options, you mentioned, are the newsletter options. I think it is not possible to use {activationlink} in the normal mail, because the "link" to the subscriber list is missing.

I hope you are understanding my problem(s) better.

Best regards
Axel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Newsletters can be sent only to published and active users

Post by Jan »

Hi, if you use another extension, then you need to build some connection between them. E.g. if another extension is active, it needs to access the newsletter database tables and change the data there.

Activation link - is this activation link from Phoca Newsletter component? There is no need to be logged in to activate the newsletter :idea:

Jan
If you find Phoca extensions useful, please support the project
astrasser
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Mar 2023, 16:39

Re: Newsletters can be sent only to published and active users

Post by astrasser »

Hi Jan

I was sending a Newsletter to two subscribers, only with the two links:
Die ist ein Test
{activationlink}
{unsubscribelink}

This will create the mails with the links:
https://www.cafephilo.ch/index.php/kont ... 32dd23a6b5
https://www.cafephilo.ch/index.php/kont ... 32dd23a6b5

If i am clicking them, I will get the message:
×
Fehler
Bitte zuerst anmelden.

and the login form.

Axel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Newsletters can be sent only to published and active users

Post by Jan »

Hi, is newsletter function enabled in options?

Image

Jan
If you find Phoca extensions useful, please support the project
astrasser
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Mar 2023, 16:39

Re: Newsletters can be sent only to published and active users

Post by astrasser »

Yes, it is activated

Axel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Newsletters can be sent only to published and active users

Post by Jan »

Hi,

Can you paste a screenshot of the message here? Are you sure, it is Phoca Email message? Is there no another system on your site which needs login?

Usually, the links work per token and don't need any login (in fact having login in this case does not make any sense):

Image

Image

Jan
If you find Phoca extensions useful, please support the project
astrasser
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 10 Mar 2023, 16:39

Re: Newsletters can be sent only to published and active users

Post by astrasser »

You will get the same message, if you are clicking on the links in my message. If I log in with my joomla passwort, I will get the same messages like you.

Axel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Newsletters can be sent only to published and active users

Post by Jan »

But the question still remains. Which part of the system runs the need of login. Usually, Phoca Email component does not require login because it just use token links - in fact this is the default option - to access it without login need - as mostly login is not required).

So for example, what about menu link to Phoca Email (Newsletter)? It is not protected by access rules?
If you find Phoca extensions useful, please support the project
Post Reply