Hi Svetlana,
I got the email for your forum post and it is not truncated to 33 characters:
"[mojoPortal - Feature Requests] Subject header of a email when the email is sent from a forum by means of DotNetOpenMail"
So I don't think its a problem with DotNetOpenMail. There is a message template file used for the subject and another one for the body. In ForumPostEdit.aspx.cs you can see this code:
notificationInfo.SubjectTemplate
= ResourceHelper.GetMessageTemplate(ResourceHelper.GetDefaultCulture(),
"ForumNotificationEmailSubject.config");
Default culture is going to be from the Web.config setting:
<globalization
culture="auto:en-US"
uiCulture="auto:en-US"
requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="iso-8859-15" />
default in this case is en-US so the template file will be /Data/MessageTemplates/en-US-ForumNotificationEmailSubject.config
if you have changed the default then maybe there is no template existing for the default culture and this could cause the problem you are seeing. The subject is formatted like this:
emailSubject.Append(notificationInfo.SubjectTemplate);
emailSubject.Replace("{SiteName}", notificationInfo.SiteName);
emailSubject.Replace("{ModuleName}", notificationInfo.ModuleName);
emailSubject.Replace("{ForumName}", notificationInfo.ForumName);
emailSubject.Replace("{Subject}", notificationInfo.Subject);
So most likely you are using a different culture and need to create a message template for your chosen culture.
Hope it helps,
Joe