ZenphotoCMS Forum
issue with plugin register-user - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Plugins (https://forum.zenphoto.org/forum-6.html)
+--- Thread: issue with plugin register-user (/thread-8850.html)

Pages: 1 2


issue with plugin register-user - vincent3569 - 09-07-2011

Hi,

I use zenphoto 1.4.1.1 [7662] and have some test with the register-user plugin.
The creation of a new user with register-user is ok, but the new user don't get a email, the administrator don't get a email.

I have found this topic on the same subject :
http://www.zenphoto.org/support/topic.php?id=8358#post-49376

This is a known issue (I dont'use mod_rewrite) ?




issue with plugin register-user - micheall - 09-07-2011

do you have the email_newueser plugin enabled?




issue with plugin register-user - sbillard - 10-07-2011

I hardly think that a reference to a year 2007 thread represents something that is a known issue, specially since the thread says the problem is fixed.

There are quite a number of reasons why you would not get an e-mail, not the least of which is that your site is not configured for smtp mail, your smtp mail does think your email address is a valid one for its domain. Or even that the email addresses provided are really not valid.

In the 'Dev-tools' folder of the zenphoto package is a plugin named pseudomail. Install it and try again. If you get a "mail" in your zp-data folder then Zenphoto is woriing and your site mail handler is not.




issue with plugin register-user - vincent3569 - 10-07-2011

hi

I have installed the pseudomail plugin.
I have tried a new registration and I have got a "mail" in your zp-data folder but the new user don't get a email, the administrator don't get a email too.

Could you help to solve may problem ?

notice :

  • I receive mails from contact_form and comment_form
  • the zenphoto_sendmail plugin is activated



issue with plugin register-user - sbillard - 10-07-2011

You must have bad e-mail addresses, then. That would be the only difference in the mail plugins. Pseudo mail does not fail as it just writes a file. Sendmail may not send to bad addresses.




issue with plugin register-user - vincent3569 - 10-07-2011

After few verifications, I'm sure of the email of the new user.
I made different attempts with different email adresses, but the result is the same : no email sent to the new user




issue with plugin register-user - sbillard - 10-07-2011

Sorry, can't help you. When I do a register user it does send the mail to me.




issue with plugin register-user - vincent3569 - 11-07-2011

ok, it's working for you but it doesn't not working for me.
so what can do we do ?
I don't use mod_rewrite, could it be an issue (like the issue reported in the old post above)?




issue with plugin register-user - acrylian - 11-07-2011

What did you enter on the gallery options for the mail address to send mails from? For example for zenphoto.org we have set it to zenphoto@www.zenphoto.org which works. It might be that your server requires that to be set to an real exisiting mail address for your domain or so.




issue with plugin register-user - vincent3569 - 11-07-2011

hi

my mail address to send mails from is a valid mail (it is not the default value).

I notice somthing curious :
there is an excerpt of the content of the mail found in the log with pseudomail
`

*------------------------------------------------

À : xxx.xxx@xxxx.fr

From: Galerie - 1.4.1.1

Sujet : Confirmation de l’inscription

*------------------------------------------------

Vous avez reçu ce mail parce que vous vous êtes enregistré sur le site. Pour compléter votre inscription, rendez-vous sur http://vincent.bourganel.free.fr/zenphoto_t2/index.php?p=register&verify=xxxxxx

`

"from" is equals to the title of the gallery and is not equals to the site mail.




issue with plugin register-user - sbillard - 11-07-2011

You might try your test with the site set to English. Perhaps this is a character set or translation problem.




issue with plugin register-user - vincent3569 - 11-07-2011

I have tried with the entire site in english.
I have tried with the email as the login ID.
no change




issue with plugin register-user - vincent3569 - 11-07-2011

Perhaps I have another idea...

In default rights section, there is the following message :
"Initial rights for the new user. (If no rights are set, approval of the user will be required.)"

question : if no rights are set, the confirmation email is sent to the new user ?

the problem is that I can't set any value to the rights.
all other options are saved, but not the default user rights.
and by default, there is no rights set.




issue with plugin register-user - sbillard - 11-07-2011

Your "From" address does not appear to be a valid e-mail address, so perhaps your smtp is faulting on it.




issue with plugin register-user - sbillard - 11-07-2011

Quote:question : if no rights are set, the confirmation email is sent to the new user ?
You did show the message sent to the new user via the pseudomail plugin, didn't you? Were no rights set then?

Let me repeat the analysis:

You do get the mail with the pseudomail plugin. This means that register user is sending the mail.

All mail plugins are equal. If one gets the message to send, then all do. So the Zenphoto sendmail plugin also got mail to send.

Zenphoto Sendmail (presumably) did not report an error back so it's tests were successful and it passed the mail on to your SMTP server.

Your user did not get the mail. So. Either the mail went to the wrong address (you say it is correct.) or your SMTP server did not send it.

Problem is with your SMTP server, then. Nothing Zenphoto can do about it.

[edit] I did think of a third possibility--the mail went into someone's SPAM filter so was not delivered.




issue with plugin register-user - vincent3569 - 12-07-2011

hi

I have done some tests :

  • site email : vince.bourganel@xxx.com
  • admin email : vince.bourganel@yyy.com

1- contact_form (test OK) :

  • send a copy : yes
  • Mail address : vince.bourganel@yyy.com (the same as admin)
    I wrote a mail from "contact us" (email of visitor : vince_bourganel@zzz.fr)
    I receive a mail on vince.bourganel@yyy.com and the visitor receive a mail on vince_bourganel@zzz.fr.

there is the trace :

Quote:------------------------------------------------
To: vince.bourganel@yyy.com
From: Galerie - 1.4.1.1
Cc: vince_bourganel@zzz.fr
Subject: test commentaire (Galerie - 1.4.1.1)
------------------------------------------------
test commentaire message

test
vince_bourganel@zzz.fr
2- comment_form (test OK) :
I wrote a comment from my gallery (email of visitor : vince_bourganel@zzz.fr)
I receive a mail on vince.bourganel@yyy.com

there is the trace :

Quote:------------------------------------------------
To: vince.bourganel@yyy.com
From: Galerie - 1.4.1.1
Subject: [Galerie - 1.4.1.1] Comment posted
------------------------------------------------
A comment has been posted on your album "terre".

Author: bourganel
Email: vince_bourganel@zzz.fr
Website:
Comment:

essai commentaire
[...]
3- register_user (test KO) :

  • Email ID : no
  • Notify : yes
  • Email notification text : To complete your registration visit %s.
    I registred a new user from my gallery :
  • Name : test
  • UserID : test
  • Email : vince_bourganel@zzz.fr

I don't receive a mail on vince_bourganel@zzz.fr to confirm my inscription
there is the trace :

Quote:------------------------------------------------
To: vince_bourganel@zzz.fr
From: Galerie - 1.4.1.1
Subject: Registration confirmation
------------------------------------------------
To complete your registration visit http://vincent.bourganel.free.fr/zenphoto_t2/index.php?p=register&verify=hvhvhvhjvhvhvhvjhv.
4- another try of register_user (test OK) :

  • Email ID : no
  • Notify : yes
  • Email notification text : your registration
    I registred a new user from my gallery :
  • Name : test
  • UserID : test
  • Email : vince_bourganel@zzz.fr

I receive a mail on vince_bourganel@zzz.fr to confirm my inscription (but without the link to confirm the registration

[b]the issue is on the confirmation link
http://vincent.bourganel.free.fr/zenphoto_t2/index.php?p=register&verify=hvhvhvhjvhvhvhvjhv[/b]

with this link, the email is not sending (or is not receive, I can't tell anymore)

how to solve this issue ?




issue with plugin register-user - vincent3569 - 12-07-2011

Quote:question : if no rights are set, the confirmation email is sent to the new user ?
You did show the message sent to the new user via the pseudomail plugin, didn't you? Were no rights set then?

I can't set any default right in admin of register_user (the options checked are not saved)

So, a new user is always with no rights




issue with plugin register-user - sbillard - 12-07-2011

No, depends on what you set in the options. However the default would be with no rights until you give them some.




issue with plugin register-user - vincent3569 - 12-07-2011

what are the options you are talking about?
In options>plugin>register_user, I can't save any Default rights given to the new users.




issue with plugin register-user - sbillard - 12-07-2011

Install the nightly build--that is fixed.