New user registration emails not working Joomla 3.3.x

Need help upgrading your Joomla! website or converting to Joomla! 3.x?

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
junaida
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Mon Jan 27, 2014 2:10 pm

Re: New user registration emails not working Joomla 3.3.x

Post by junaida » Tue Jul 08, 2014 2:01 pm

Yes i have 2 more users in addition to super admin set to recieve emails. But none of them recieve any emails.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30892
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: New user registration emails not working Joomla 3.3.x

Post by Per Yngve Berg » Tue Jul 08, 2014 2:16 pm

Check this:

Code: Select all

// Send Notification mail to administrators
      if (($params->get('useractivation') < 2) && ($params->get('mail_to_admin') == 1))
and this:

Code: Select all

$rows = $db->loadObjectList();
Does $rows contain any list of admin users?

junaida
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Mon Jan 27, 2014 2:10 pm

Re: New user registration emails not working Joomla 3.3.x

Post by junaida » Tue Jul 08, 2014 2:32 pm

I see a message when creating a user:

Code: Select all

Your account has been created and an activation link has been sent to the email address you entered. Note that you must activate the account by clicking on the activation link when you get the email before you can login.
but No files in mailoutput directory. users won't recieve an activation email either.

i am using

Code: Select all

var_dump($rows);
after line 529 with

Code: Select all

$rows = $db->loadObjectList();
but no luck

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30892
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: New user registration emails not working Joomla 3.3.x

Post by Per Yngve Berg » Tue Jul 08, 2014 7:15 pm

If $rows is empty, you do not have any users with sendEmail=1.

junaida
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Mon Jan 27, 2014 2:10 pm

Re: New user registration emails not working Joomla 3.3.x

Post by junaida » Wed Jul 09, 2014 8:14 am

Ok and what does that mean? i have checked and super admin is set to "YES" on recieve system emails. i have also added another user to recieve emails now.
i have tried to dump variables from various steps but it does not seem to enter the condition at all. although i still see the user created in the backend.

junaida
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Mon Jan 27, 2014 2:10 pm

Re: New user registration emails not working Joomla 3.3.x

Post by junaida » Wed Jul 09, 2014 1:42 pm

Ok no i am trying to write a simple file to see if it enters the conditions.
the user email works ok with the activation link.
but it does not enter the condition on line 503

Code: Select all

	// Send Notification mail to administrators
		if (($params->get('useractivation') < 2) && ($params->get('mail_to_admin') == 1))
i am using the following to write a file.

Code: Select all

		$file = fopen("test.txt","w");
echo fwrite($file,"Hello World. Testing!");
fclose($file);
			
just top remind. useractivation and mail_to_admin hold value =1 . This means it should enter the condition but it does not...

junaida
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Mon Jan 27, 2014 2:10 pm

Re: New user registration emails not working Joomla 3.3.x

Post by junaida » Mon Jul 21, 2014 12:08 pm

any help on this yet ?

G3XWH
Joomla! Intern
Joomla! Intern
Posts: 54
Joined: Fri Oct 11, 2013 9:28 am

Re: New user registration emails not working Joomla 3.3.x

Post by G3XWH » Wed Jan 07, 2015 12:02 pm

Hi,

I have exactly the same issue as junaida. Did anyone find a solution? My host is GoDaddy if that is relevant.

Thanks,

Richard

junaida
Joomla! Apprentice
Joomla! Apprentice
Posts: 33
Joined: Mon Jan 27, 2014 2:10 pm

Re: New user registration emails not working Joomla 3.3.x

Post by junaida » Wed Jan 07, 2015 12:20 pm

Hi Richard,

I have not found a solution for it. with all the tests i did i Suspect it could be an issue with the service provider. I had several updates on Joomla itself and i have lot of core modifications too so it is much more difficult for me to troubleshoot. At the moment i am using chronoforms to get the users to register. It is third party plugin to work almost indepoendent of joomla core notification.

But with several websites to manage i did not had much time to look into this issue further. it is on my list though. In the meanwhile if you find a solution, please update here and others can benefit..

thanks,


Locked

Return to “Migrating and Upgrading to Joomla! 3.x”