Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumBug in Forums or scheduler?Bug in Forums or scheduler?
Previous
 
Next
New Post
11/26/2008 12:09 PM
 

Not sure where this post belongs but since it is regarding the Forum notifications I will start it here. No this is not about the known individual post notification issue either.

When easycgi switched platforms, one of the things they changed is to no longer allow anonomous smtp from within DNN.  I did not know this until a few hours and about 3 forum posts went by. Within the scheduler I could see that there were a couple tasks that took 140 seconds to "successfully" complete after those tasks showed failed for the entire time leading up to the 120 - 140 seconds. Initially you would think the task kept retrying then finally had success. The reality is that the task failed due to incorrect smtp settings. The event log shows the following:

InnerException: Unable to connect to the remote server
FileName:
FileLineNumber: -1
FileColumnNumber: -1
Method:
StackTrace:
Message: System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 66.245.177.160: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)
Source:
Server Name: IIS06101

Once I realize what happened, I fixed the smtp settings but the notification emails were lost forever. Shouldnt those emails that failed to send have queued and then finally sent once I fixed the setting? How could the task say that it successfully completed when in fact it failed to successfully complete?

 
New Post
11/26/2008 1:48 PM
 

Joisey, there is no bug here and what happend was by design. To keep the explanation short of why I will just say that not attempting to send after many failed attempts needs to be the way it is. As for how you can resolve your problem, find the failed send column and change it from 2 to 0 for all thsoe affected (in the Forum_Email_Tasks table). This will allow your scheduled email tasks to send without issue. Currently, there is no interface for management of this because I plan to offload this into the core Q1 of 2009.  


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
11/26/2008 3:26 PM
 

FYI appears to be logged here:
http://support.dotnetnuke.com/issue/ViewIssue.aspx?id=8818&PROJID=7



Alex Shirley


 
New Post
11/27/2008 9:35 AM
 

A couple things... first my table is not called "Forum_Email_Tasks." Mine is called Forum_EmailQueue_Tasks. I assume that this is what you meant. Then when I look inside for a failed send column... I find "failedsendcount". Again I assume this is what you mean.  Some say 7, some say 1, some say 6.  I guess this is how many people it tried to send to and failed? Am I supposed to just go in and update those values to zero? Or are you referring to the "queuepriority" column? Thanks

PS I tried changing them both with no results. Please tell me the right spot to modify this.

Crispy wrote
 

Joisey, there is no bug here and what happend was by design. To keep the explanation short of why I will just say that not attempting to send after many failed attempts needs to be the way it is. As for how you can resolve your problem, find the failed send column and change it from 2 to 0 for all thsoe affected (in the Forum_Email_Tasks table). This will allow your scheduled email tasks to send without issue. Currently, there is no interface for management of this because I plan to offload this into the core Q1 of 2009.  

 
New Post
12/21/2008 11:27 AM
 

Chris,

Can you give me some more detail on how to get these old ones to send. I had a bunch of emails in the queue that need to send and I cant see how to make that happen.  How about a simple sql script that resends all emails that have failed?

I had the issue again but nothing reported into the event log. Everything looked like success except no emails sent.

 

joiseystud wrote
 

A couple things... first my table is not called "Forum_Email_Tasks." Mine is called Forum_EmailQueue_Tasks. I assume that this is what you meant. Then when I look inside for a failed send column... I find "failedsendcount". Again I assume this is what you mean.  Some say 7, some say 1, some say 6.  I guess this is how many people it tried to send to and failed? Am I supposed to just go in and update those values to zero? Or are you referring to the "queuepriority" column? Thanks

PS I tried changing them both with no results. Please tell me the right spot to modify this.

 Crispy wrote
 

 

Joisey, there is no bug here and what happend was by design. To keep the explanation short of why I will just say that not attempting to send after many failed attempts needs to be the way it is. As for how you can resolve your problem, find the failed send column and change it from 2 to 0 for all thsoe affected (in the Forum_Email_Tasks table). This will allow your scheduled email tasks to send without issue. Currently, there is no interface for management of this because I plan to offload this into the core Q1 of 2009.  

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumBug in Forums or scheduler?Bug in Forums or scheduler?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out