New Registered user confirmation email not being sent out

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

This thread is closed to new posts. You must sign in to post in the forums.
10/24/2011 7:24:13 PM
Gravatar
Total Posts 383
Thanks Squire Dude

New Registered user confirmation email not being sent out

I have a strange issue that I am unable to locate a solution to. On the Administrator > Site Settings > Security > Main > Require E-mail Confirmation for Registration?  Is checked = true.  So it should send a new users registration and confirmation email to confirm that they are using a valid email address.

I have checked the "Contact Us" and the form does send an email.
I re-sent the registration confirmation to my own account - NO EMAIL
I sent a newsletter to my own account - NO EMAIL
I ran the "Recover Password", answered question - NO EMAIL

WHICH MEANS I AS THE ADMINISTRATOR CAN NOT ENTER THE SYSTEM????

There is no SMTP settings in the User.Config
The settings in the web.config are...

<add key="EnableSiteSettingsSmtpSettings" value="false"/>
<add key="MaskSmtpPasswordInSiteSettings" value="true"/>
<add key="ShowSmtpEncodingOption" value="false"/>

<add key="DisableDotNetOpenMail" value="true"/>
<add key="SMTPServer" value="localhost"/>
<add key="SMTPRequiresAuthentication" value="false"/>
<add key="SMTPUseSsl" value="false"/>
<add key="SMTPPort" value="25"/>
<add key="SMTPUser" value="UserName"/>
<add key="SMTPPassword" value="UPassword"/>
<add key="SMTPTimeoutInMilliseconds" value="30000"/>
<!-- Leave this blank for ASCII encoding. Allowed values are utf-8, utf-32, and unicode -->
<add key="SmtpPreferredEncoding" value=""/>

<system.net>
<mailSettings>
<smtp from="noreply@yourdomain.com">
<network host="localhost" port="25" password="" userName="noreply@yourdomain.com" />
</smtp>
</mailSettings>
</system.net>

System Settings:
mojoPortal Version 2.3.7.0 MSSQL
Operating System Microsoft Windows NT 5.2.3790 Service Pack 2
ASP.NET Info v4.0.30319 Running in Full Trust
Server Time Zone Eastern Daylight Time
Server Local Time (GMT -4) 10/24/2011 8:08:50 PM
Greenwich Mean Time (GMT/UTC) 10/25/2011 12:08:50 AM
---------------------------------------------------------------------------------------------------

What have I missed in trying to resolve this issue?

URGENT: - How can I log since I did not receive the change password email???

Thanks

10/24/2011 8:01:00 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: New Registered user confirmation email not being sent out

Okay I have resolved my issue... I have to say that I know what I did but it is hard to believe that it was the actual resolution...

I went to Administrator > Site Settings > Security Tab > Require E-mail Confirmation for Registration? = UnChecked + removed email address... SAVE... Go back and repeat the process this time adding the Email Address & Checking the "Require E-mail Confirmation for Registration?" box...

Resolved.

10/27/2011 11:01:01 AM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: New Registered user confirmation email not being sent out

Hi,

Well I thought I had this fixed but it has now reared its ugly head again... all the settings seem to be correct and I have confirmed the email address manually - FAILED TO SEND

I even created a new account, and email address, ME and it failed.  I have confirmed that the settings noted in my 1st posting is the same.

What do I do????

10/27/2011 5:51:15 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: New Registered user confirmation email not being sent out - URGENT

Could really do with some help with this issue... as I have to approve each new registration by hand...

Thanks in advance

10/28/2011 8:11:42 AM
Gravatar
Total Posts 18439

Re: New Registered user confirmation email not being sent out

Hi Phill,

I investigated this this morning to make sure it works as I expect, and I did find one bug with the notify admin feature. Previously we used a simple web.config setting to enable this and later we moved it into site settings but in the code that sends the email it was still checking the older web.config setting. I will fix this for the next release but for now you can solve it by setting this to true in Web.config

<add key="NotifyAdminsOnNewUserRegistration" value="true"/>

The verification email to the user for the "Require Email Confirmation" setting in site settings does work correctly for me and the notification to admins works if the above web.config setting is true.

Other than that all I know about email configuration is in the article Email Configuration. Note especially though tat if you have enabled this as true:

<add key="EnableSiteSettingsSmtpSettings" value="true" />

then none of the other SMTP settings in user.config are used, instead they must be entered in Site Settings, and if there is more than one site in the installation it must be set in each site. 

Hope that helps,

Joe

10/28/2011 12:54:21 PM
Gravatar
Total Posts 383
Thanks Squire Dude

Re: New Registered user confirmation email not being sent out

Hi Joe A,

Thanks I have changed the setting your noted and am now testing the registration reply.  I get the Admin notification BUT no user email...?

This is a frustrating one!!!!! It seems to be erratic at best... I have opening an issue with my hosting company to take a look at the web.config settings to see if I messed something up there?

I read through the page of help on Email Configuration and as far as I can see I have it correct... it doesn't seem like such a difficult setting...  ggggrrrrrrr :-( :-(

Clicking on the "Resend" button fails.

Not sure if it's related but I do no see anywhere to turn the UserID on or off??? The box is always visible to the new user.  I have Use Email for Sign In? == Checked.

If I turn OFF the Confirmation required item the user can register without email confirmation... this works fine by my testing.

When Confirmation is checked it does send the odd email out... Is there a place where I can modify the body text as the 1st line says... "Thank You for Registering with !"  as you can see the users name is missing... where I can I fix this small thing?

Thanks
Phill

You must sign in to post in the forums. This thread is closed to new posts.