New Users No longer receive e-mail confirmation and cannot log without admin help

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.
4/13/2011 12:20:21 PM
Gravatar
Total Posts 2

New Users No longer receive e-mail confirmation and cannot log without admin help

Hi All,

I am hoping this question can be easily answered by one of the experts here, but I am lost as to what could be going on.  I have my new user configuration set so that users who register receive a confirmation e-mail to the address they used and must click on the link inside the message to validate their account.  For no apparent reason, this feature one day recently stopped working and I started receiving e-mails from new users who never received a confirmation e-mail and were automatically locked out until I manually unlocked their accounts and validated their e-mail addresses.   I tested this issue by registering myself using two of my other regular e-mail accounts and neither time received a confirmation e-mail.  I have had to temporarily allow new users to register without e-mail validation and I do not like to do this as I need valid e-mail addresses on record. 

I have checked and rechecked that the site is configured to send out e-mails to confirm new users, but it simply isn't working.  Does anyone have ideas as to why and how I might address this?

Thanks!
Ashley   

4/13/2011 12:35:55 PM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: New Users No longer receive e-mail confirmation and cannot log without admin help

First, you should go under Administration, System Log and see if there are any email-related errors being generated. If so, post them here. If not, you should then test to see if you can receive any email from your site. A good way to do this is to drop a contact form somewhere on the site with yourself as the recipient, and try to send a message to yourself. If that doesn't come through, then you should probably contact your hosting provider, because chances are it's a problem with their mail server.

Hope that helps.

Jamie

4/13/2011 9:46:00 PM
Gravatar
Total Posts 2

Re: New Users No longer receive e-mail confirmation and cannot log without admin help

Jamie,

Thanks for responding.  I dropped a contact form and attempted sending messages.  Here is the system log showing smtp server exception.  Can you shed any light on what my course of action should be to resolve?  Would this be related to an issue with my hosting provider?  I appreciate your help - I'm new to this part of things.

Ashley

2011-04-13 21:32:29,837 ERROR mojoPortal.Web.Global - my.local.ip.here-en-US - /Data/Sites/1/skins/styleshout-citrusisland/csshandler.ashx?skin=styleshout-citrusisland
System.Web.HttpException: The file '/Data/Sites/1/skins/styleshout-citrusisland/csshandler.ashx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.UI.SimpleHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2011-04-13 21:32:49,104 ERROR mojoPortal.Web.Global - my.local.ip.here-en-US - /Data/Sites/1/skins/styleshout-citrusisland/csshandler.ashx?skin=styleshout-citrusisland
System.Web.HttpException: The file '/Data/Sites/1/skins/styleshout-citrusisland/csshandler.ashx' does not exist.
   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
   at System.Web.UI.SimpleHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
   at System.Web.UI.SimpleHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path)
   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2011-04-13 21:33:04,445 ERROR mojoPortal.Net.Email - error sending email to admin@egloberc.com from admin.egloberc@gmail.com, will retry
2011-04-13 21:33:13,453 ERROR mojoPortal.Net.Email - all retries failed sending email to admin@egloberc.com from admin.egloberc@gmail.com, message was: Ashley Smith<br />admin.egloberc@gmail.com<br /><br /><p>
Test</p>
<br /><br />HTTP_USER_AGENT: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; BRI/2)<br />REMOTE_HOST: my.local.ip.here<br />REMOTE_ADDR: my.local.ip.here<br />LOCAL_ADDR: 192.168.146.19<br />
System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:25
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)
   at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
   at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at mojoPortal.Net.Email.Send(SmtpSettings smtpSettings, String from, String replyTo, String to, String cc, String bcc, String subject, String messageBody, Boolean html, String priority, String[] attachmentPaths, String[] attachmentNames)
 

4/14/2011 10:02:43 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: New Users No longer receive e-mail confirmation and cannot log without admin help

From the error, it looks like you're using admin.egloberc@gmail.com as the site's "from" address. Most SMTP servers will refuse to relay mail if the sender's email domain doesn't match the host domain (this is to help prevent spam). In Administration, site settings, try changing the Site Email From Address field to something like "noreply@egloberc.com", and that should clear up the issue.

Jamie

4/14/2011 10:07:41 AM
Gravatar
Total Posts 18439

Re: New Users No longer receive e-mail confirmation and cannot log without admin help

System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:25

To me this error looks like the smtp configuration settings are probably incorrect. It looks like it is trying to use localhost for the smtp server but no smtp server is configured at localhost.

If your email was working at one time then either your settings have been changed/lost somehow or there was once an smtp server on the same machine as your web site that was working but it is no longer there.

See the document Email Configuration

Hope it helps,

Joe

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