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 ForumsForumForumnew post notification emailnew post notification email
Previous
 
Next
New Post
8/16/2007 4:56 PM
 

Hello,

I dont know if my last post went through. I am not receiving new post notifications via email. I am receiving new user notfications and was able to send a test email through my host settings SMTP.

Any thoughts?

Thanks,

Brad

 
New Post
8/17/2007 4:18 AM
 

make sure, that the email address of the administrator, specified in Admin :: Site Settings, has the correct format, as it is used as sender.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/17/2007 9:51 AM
 

Thank you for your reply!

I checked and everything seems good, like I said  I AM receiving new user registration email notifications and was also able to send a test email through my host account via the SMTP.

I just looked and now the option to receive email notifications when a new thread is posted to is not available.........

 
New Post
8/17/2007 10:58 AM
 

did you check forum settings as well?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/17/2007 1:14 PM
 

I had the same problem (DNN 4.05.03).  Here is a less than optimal, quick and dirty fix which should work until the new forums are released.

In ForumUtils.vb

Public Shared Function SendPMMail...

 

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

                forumMail.To = PMRecipientUser.Email
                'SmtpMail.Send(forumMail)

                Dim smtpServer As String = Convert.ToString(_portalSettings.HostSettings("SMTPServer"))
                Dim smtpAuthentication As String = Convert.ToString(_portalSettings.HostSettings("SMTPAuthentication"))
                Dim smtpUserName As String = Convert.ToString(_portalSettings.HostSettings("SMTPUsername"))
                Dim smtpUserPassword As String = Convert.ToString(_portalSettings.HostSettings("SMTPPassword"))
                'Dim nfo As UserInfo = UserController.GetCurrentUserInfo()
                'forumMail.To = nfo.Email

                DotNetNuke.Services.Mail.Mail.SendMail(forumMail.From, "noreply@YourCompany.com", forumMail.Bcc, forumMail.Subject, _
                            forumMail.Body, "", forumMail.BodyFormat.ToString(), smtpServer, smtpAuthentication, _
                            smtpUserName, smtpUserPassword)

 

Public Shared Function SendForumMail...

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

            Dim distributionlist As Object
            For Each distributionlist In forumMail.DistributionLists
                Dim strDistribution As String = CType(distributionlist, String)
                forumMail.Bcc = strDistribution
                Try
                    'CP - COMEBACK - Change to per user email preferences
                    forumMail.BodyEncoding = System.Text.Encoding.UTF8
                    'SmtpMail.Send(forumMail)

                    Dim smtpServer As String = Convert.ToString(_portalSettings.HostSettings("SMTPServer"))
                    Dim smtpAuthentication As String = Convert.ToString(_portalSettings.HostSettings("SMTPAuthentication"))
                    Dim smtpUserName As String = Convert.ToString(_portalSettings.HostSettings("SMTPUsername"))
                    Dim smtpUserPassword As String = Convert.ToString(_portalSettings.HostSettings("SMTPPassword"))
                    Dim nfo As UserInfo = UserController.GetCurrentUserInfo()
                    forumMail.To = nfo.Email

                    DotNetNuke.Services.Mail.Mail.SendMail(forumMail.From, forumMail.To, forumMail.Bcc, forumMail.Subject, _
                        forumMail.Body, "", forumMail.BodyFormat.ToString(), _
                        smtpServer, smtpAuthentication, smtpUserName, smtpUserPassword)

                Catch exc As System.Exception
                    LogException(exc)
                End Try
            Next

 

This hack may help for for the interim.

 

 

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumnew post notification emailnew post notification email


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