Hi All
Today downloaded sources of version 03.20.09. At the file ForumUtils.vb 2 lines, where called this method
SmtpMail.Send(forumMail) lines 223 and 256
This method not worked at our site, because we defined server IP and login and password.
So it replaced with next lines:
Dim strAttachments As String = ""
Try
For Each strAtt As String In forumMail.Attachments
strAttachments = strAttachments + strAtt + " "
Next
strAttachments = strAttachments.Trim()
Catch ex As Exception
End Try
Dim htHostSettings As Hashtable = DotNetNuke.Entities.Portals.PortalController.GetCurrentPortalSettings().HostSettings
DotNetNuke.Common.SendNotification(forumMail.From, forumMail.To, forumMail.Cc, forumMail.Bcc, Services.Mail.MailPriority.Normal, forumMail.Subject, Services.Mail.MailFormat.Html, forumMail.BodyEncoding, forumMail.Body, strAttachments, CType(htHostSettings("SMTPServer"), String), CType(htHostSettings("SMTPAuthentication"), String), CType(htHostSettings("SMTPUsername"), String), CType(htHostSettings("SMTPPassword"), String))
Now all works fine :)
If you want we can send you updated .dll, but will be good if Forum Core Team public updates ;)
With the best regards CookDNN team! UniversalList - GOOD FREE MODULE FOR YOUR SITE http://cookdnn.com