View Issue Details

IDProjectCategoryView StatusLast Update
0005728SOGoWeb Mailpublic2023-04-05 09:27
Reportermathilde Assigned Tosebastien  
PriorityhighSeveritymajorReproducibilityhave not tried
Status resolvedResolutionfixed 
PlatformServerOSDebianOS Version11
Product Version5.8.2 
Fixed in Version5.8.3 
Summary0005728: HTML body content isn't displayed
Description

Every email with HTML body content isn't displayed since 5.8.x

Plain text emails are fine.

Additional Information

Logs from web console:

[Error] this.to.forEach is not a function. (In 'this.to.forEach(function(e,t,s){e.email&&0<e.email.indexOf("@")&&(s[t].email=punycode.toUnicode(e.email))})', 'this.to.forEach' is undefined)
https://REDACTED/SOGo.woa/WebServerResources/js/Mailer.services.js:1

(anonymous function) (angular.min.js:100:195)
$digest (angular.min.js:154)
(anonymous function) (angular.min.js:156:275)
(anonymous function) (angular.min.js:168:233)
(anonymous function) (angular.min.js:52:242)

Below the configuration file:

{
SOGoCalendarDefaultRoles = (
PublicViewer,
ConfidentialDAndTViewer,
PrivateDAndTViewer
);

WOWorkersCount = &quot;60&quot;;
SOGoACLsSendEMailNotifications = YES;
SOGoAppointmentSendEMailNotifications = YES;
SOGoDraftsFolderName = &quot;Drafts&quot;;
SOGoJunkFolderName= &quot;Junk&quot;;
SOGoMailDomain = &quot;sogo.local&quot;;
SOGoEnableEMailAlarms = YES;
SOGoFoldersSendEMailNotifications = YES;
SOGoForwardEnabled = YES;

SOGoUIAdditionalJSFiles = (
  js/theme.js,
  js/custom-sogo.js
);

SOGoEnablePublicAccess = YES;

// Multi-domain setup
// Domains are isolated, you can define visibility options here.
// Example:

// SOGoDomainsVisibility = (
//  (domain1.tld, domain5.tld),
//  (domain3.tld, domain2.tld)
// );

// self-signed is not trusted anymore
WOPort = &quot;0.0.0.0:20000&quot;;
SOGoMemcachedHost = &quot;memcached&quot;;

SOGoLanguage = French;
SOGoTimeZone = Europe/Paris;
SOGoMailAuxiliaryUserAccountsEnabled = YES;
SOGoMailCustomFromEnabled = YES;
SOGoMailingMechanism = smtp;
SOGoSMTPAuthenticationType = plain;

SxVMemLimit = 384;

SOGoMaximumPingInterval = 3540;

SOGoInternalSyncInterval = 45;
SOGoMaximumSyncInterval = 3540;

// 100 seems to break some Android clients
//SOGoMaximumSyncWindowSize = 99;
// This should do the trick for Outlook 2016
SOGoMaximumSyncResponseSize = 512;

WOWatchDogRequestTimeout = 30;
WOListenQueueSize = 16;
WONoDetach = YES;

SOGoIMAPAclConformsToIMAPExt = Yes;
SOGoPageTitle = &quot;SOGo&quot;;
SOGoFirstDayOfWeek = &quot;1&quot;;
SOGoFirstWeekOfYear = &quot;First4DayWeek&quot;;

SOGoSieveFolderEncoding = &quot;UTF-8&quot;;
SOGoPasswordChangeEnabled = NO;
SOGoSentFolderName = &quot;Sent&quot;;
SOGoMailShowSubscribedFoldersOnly = NO;
NGImap4ConnectionStringSeparator = &quot;/&quot;;
SOGoSieveScriptsEnabled = YES;
SOGoTrashFolderName = &quot;Trash&quot;;
SOGoVacationEnabled = YES;

SOGoCacheCleanupInterval = 900;
SOGoMaximumFailedLoginCount = 10;
SOGoMaximumFailedLoginInterval = 900;
SOGoFailedLoginBlockInterval = 900;

GCSChannelCollectionTimer = 60;
GCSChannelExpireAge = 60;

MySQL4Encoding = &quot;utf8mb4&quot;;

//SOGoDebugRequests = YES;
//SoDebugBaseURL = YES;
//ImapDebugEnabled = YES;
//SOGoEASDebugEnabled = YES;
//LDAPDebugEnabled = YES;
//PGDebugEnabled = YES;
//MySQL4DebugEnabled = YES;
//SOGoUIxDebugEnabled = YES;
//WODontZipResponse = YES;
WOLogFile = "/dev/sogo_log";
}

TagsNo tags attached.

Relationships

has duplicate 0005721 resolvedsebastien WebMail doesn't show body of the message when it doesn't contain "To:" header 

Activities

mathilde

mathilde

2023-04-05 08:43

reporter  

mathilde

mathilde

2023-04-05 08:52

reporter   ~0016792

Looking deeper in this issue it doesn't seems to be affecting all HTML emails but only some of them. Here is an example on .eml format.

Thanks in advance for your help.

sebastien

sebastien

2023-04-05 09:16

administrator   ~0016793

Duplicate 0005721

Please test latest nightly build or install workaround described in 0005721

Sebastien

mathilde

mathilde

2023-04-05 09:21

reporter   ~0016794

Thanks, sorry for the duplicate. Went through that report but wasn't sure it's the same issue. My bad.

sebastien

sebastien

2023-04-05 09:26

administrator   ~0016795

NP, I have tested the eml and reproduces the issue, I can confirm it's now fixed

Sebastien

Issue History

Date Modified Username Field Change
2023-04-05 08:43 mathilde New Issue
2023-04-05 08:43 mathilde File Added: Screenshot 2023-04-05 at 10.13.37.png
2023-04-05 08:52 mathilde Note Added: 0016792
2023-04-05 08:52 mathilde File Added: Restitution CNR bien vieillir.eml
2023-04-05 09:15 sebastien Relationship added has duplicate 0005721
2023-04-05 09:16 sebastien Note Added: 0016793
2023-04-05 09:16 sebastien Assigned To => sebastien
2023-04-05 09:16 sebastien Status new => feedback
2023-04-05 09:21 mathilde Note Added: 0016794
2023-04-05 09:21 mathilde Status feedback => assigned
2023-04-05 09:26 sebastien Note Added: 0016795
2023-04-05 09:27 sebastien Status assigned => resolved
2023-04-05 09:27 sebastien Resolution open => fixed
2023-04-05 09:27 sebastien Fixed in Version => 5.8.3