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 ForumsForumForumNo SMTP Auth CodeNo SMTP Auth Code
Previous
 
Next
New Post
10/31/2006 10:19 PM
 

I had an issue where I was getting CDO.Message excpetions in my log and not recieving notifications about new threads.  I tracked the problem down to the fact there is no SMTP auth code in the SendForumMail function in the ForumUtils.vb file.  If you use SMTP auth on your email server you will need to include this code right below this line:

If Not Len(_portalSettings.HostSettings("SMTPServer")) = 0 Then
SmtpMail.SmtpServer = CType(_portalSettings.HostSettings("SMTPServer"), String)
End If

You need to enter this:

If _portalSettings.HostSettings("SMTPAuthentication").ToString = "1" Then
forumMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", 1)
forumMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", _portalSettings.HostSettings("SMTPUsername").ToString)
forumMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", _portalSettings.HostSettings("SMTPPassword").ToString)
End If

 

Not sure why they don't use the dotnetnuke sendemail function.  Hope that helps someone.  I would be glad to provide the compiled dll to anyone that needs it.  Just respond to this thread. 

 
New Post
11/1/2006 10:10 AM
 
I would have to review this but I was pretty sure that every call eventually went to the core's sendmail function. I am almost certain on this, but I do have to review the code to be certain.

Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
1/3/2007 6:54 AM
 

HI,

 

I don't have the source code version of the Forum and am struggling to get e-mail notification working within the forum.  Did you ever look to see if the code used the core DNN send mail functions or are the lines above needed to send authenticated SMTP mail ?   I am using version 3.20.08 of the Forum on site version on 04.03.07 of Dotnetnuke framework.

 
New Post
1/3/2007 10:17 AM
 

In all forum versions 3.20.x the core SendMail function is used.

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
1/12/2007 2:31 AM
 

Hi Chris,

I think thnk there is missing the Notification funktion in the forum setting.  There is only standard forum and not notification forum to aktivate in the forum settings.  That I am missing too, since the last versions. I hope that is availible in the next upcomming version of the forum module.  I am wait already completely hot for it.

Regards

Matthias

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumNo SMTP Auth CodeNo SMTP Auth Code


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