MemHT Portal is a Free PHP CMS and Blog
It permit the creation and the management online of websites with few and easy steps.
It's completelly customizable, expandable and suitable for all needs.
Moderators: Moderators
Forum RSS feedReply
Problem with user verification by mail
AuthorText
Zion
Junior Member
Avatar

Posts: 27
Contributes: 29

Gender: _MALE_
Online: No
Date: 04/08/2008 04:59
Problem with user verification by mail
#post10831
Hello,
I have a problem with user verification by mail to the registration.
It seems that only the registration with the same mail domain as the webmaster is getting this confirmation mail, others are not getting it.
for example:
my webmaster mail is: webmaster@domain.com
only people who regiter with username@domain.com will get the confirmation, people who register with username@otherdomain.com will not get the confirmation mail.
I read http://www.memht.com/forum_thread_9684_Unable-to-config-the-email.html too but there is no solution there, just turning of the confirmation by mail to users.
Can't i just use the newsletter SMTP to send verification mail to new registered users?
When i was going through the code of the registration page, i saw the function @mail() that sends the mail, where can i find the code of the function itself? maybe i can change the code there.

I didn't work with PHP before, and i have just basic knowledge with couple programming languages, so if someone can help out here, it will be great.

Thanks.

my website is: www.shafan.net
version of memht: 3.9.0
no addon installed yet.

Zion.
Delete Edit Quote
 
JPappi
Senior Member
Avatar

Posts: 295
Contributes: 72

Gender: _MALE_
Online: No
Date: 04/08/2008 08:44
Re: Problem with user verification by mail
#post10833
Test it on 4 different domains it works fine.
Check admin > configuration > users
Confirm user registration by email = YES and Administrators must approve the user registration = NO
The only reason could be the arabic languege. But i have no experiens.
Please delete my testacout on your site, if exist. User - JPappi
JPappi - have fun with memHT

Project at work: Find-4u.de

Image
Delete Edit Quote
 
Zion
Junior Member
Avatar

Posts: 27
Contributes: 29

Gender: _MALE_
Online: No
Date: 04/08/2008 09:21
Re: Problem with user verification by mail
#post10835
Thanks for trying.
I deleted JPappi from the database. the nick was waiting for confirmation.

I checked again my configuration, and it is all good. Users need to confirm by mail, and no admin confirm.

The only problem i see here is that my mailserver need authentication to send the mails outside from it's domain (because it sending mail inside the domain range). that's why i think i should use SMTP configuration for this.

I can try to use the newsletter configuration to send the mails, but i don't understand how the newsletter works. i tried to play with it, and nothing happend.
Can you explain how to send a newsletter?
Zion.
Delete Edit Quote
 
JPappi
Senior Member
Avatar

Posts: 295
Contributes: 72

Gender: _MALE_
Online: No
Date: 04/08/2008 09:46
Re: Problem with user verification by mail
#post10839
set emaildress, user and password in confuguration.
create your newsletter and send it.
the newsletter ist send at all stored users with newsletter option = on. There must be min 1 subscriber.

If you want more adresses, you can insert it in table memht_newsletter in the database.
JPappi - have fun with memHT

Project at work: Find-4u.de

Image
Delete Edit Quote
 
Zion
Junior Member
Avatar

Posts: 27
Contributes: 29

Gender: _MALE_
Online: No
Date: 04/08/2008 14:34
Re: Problem with user verification by mail
#post10852
Thanks JPappi,
I'm sorry I have a lot of questions.

I managed to send the confirmation mail with SMTP (newsletter configuration) with some code i wrote, now the mail is sent good.
But when I click on the link to confirm i get "no such user or data missing" error.
English nicks are ok, confirmation works great, the problem is with Hebrew nicknames.
When I'm writing in the address bar the code by myself, the confirmation works fine to Hebrew nicknames too.

Can the problem be with the charset of the mail?

Edit:
Ok, I found a solution... i changed the confirmation to be with the email address, instead of the username.
Now it's working great.
Thanks for the help JPappi
Edited: 04/08/2008 17:50
Zion.
Delete Edit Quote
 
Reply
Tags Cloud
Advertising
News Archive
Language
Help MemHT Portal
Navigator
Users Block
Hi Guest
IP: 38.103.63.59

Username
Password
New files
MemHT Wiki
Friends
MemHT Portal is a free software released under the GNU/GPL License by Miltenovik Manojlo