logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
lester  
#1 Posted : Tuesday, October 4, 2022 5:29:50 AM(UTC)
lester

Rank: Newbie

Groups: Registered
Joined: 6/23/2022(UTC)
Posts: 1
Taiwan, Province Of China
Location: Taipei

Seal Report 6.6.1 cannot send Email with the HTML type attachment of report.

# messages
01:19:23 Rendering report...
01:19:24 Report result generated in 'C:\Users\Administrator\AppData\Local\Temp\_Seal_Report.Temp\Overview - Sales10.html'
01:19:24 Processing result file for output 'output (Email Device)'
01:19:26 Error processing output 'output (Email Device)'
The specified content type is invalid.

Using the Server Manager, check the configuration of the device: 'Email Device (EMail)'
Rendering report...

P.S.
the function of Seal Report 6.1 is workable.

Edited by user Tuesday, October 4, 2022 6:30:15 AM(UTC)  | Reason: Not specified

epf  
#2 Posted : Tuesday, October 4, 2022 7:47:30 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
Hi, it is a regression,
I made a quick fix in OutputEmailDevice.cs:
Code:
                    var attachment = new System.Net.Mail.Attachment(attachPath);
                    attachment.Name = attachName;
                    message.Attachments.Add(attachment);

It is committed in GitHub (Fix 191).

Should be in 6.7 (hopefully in few weeks).
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.