We have a couple of websites setup with DNN and are using online forms to send emails to our paperless office product. It appears that the emails being sent from the new DNN v.9.10.02 (0) platform are being sent as a txt file. Our development site is running on version v.9.10.01 (0) and the forms are sent correctly and appear correctly in the paperless office product. Production screenshot notice filename - body.txt
Development site screenshot notice filename - body.html The only diffence between the two sites is the DNN versions. I'm looking for a solution for our production site to make the emails be sent in HTML format not TXT format.
Thanks
Hope this is the info you asked for.
Production email info from web.config not working site. <mail defaultProvider="CoreMailProvider"> <providers> <clear /> <add name="CoreMailProvider" type="DotNetNuke.Services.Mail.CoreMailProvider, DotNetNuke" hideCoreSettings="False" /> <add name="MailKitMailProvider" type="DotNetNuke.Services.Mail.MailKitMailProvider, DotNetNuke" hideCoreSettings="False" /> </providers> </mail> Develpment site that works web.config <mail defaultProvider="CoreMailProvider"> <providers> <clear /> <add name="CoreMailProvider" type="DotNetNuke.Services.Mail.CoreMailProvider, DotNetNuke" hideCoreSettings="False" /> <add name="MailKitMailProvider" type="DotNetNuke.Services.Mail.MailKitMailProvider, DotNetNuke" hideCoreSettings="False" /> </providers> </mail>
I noticed that the headers on the emails we received are different I am adding the information here. See the Content-Type: in the working site identifies it as text/html. And on the site that doesn't work it doesn't have a Content-Type section or Content-Transfer-Encoding.
Email header info from develpment working
MIME-Version: 1.0 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: base64 X-Virus-Status: Scanned by VirusSMART (c) X-PolicySMART: 15625892, 19897442, 25800812, 25818542 X-SPAM-Status: NO, ALLOW [email protected]:CAU Message-ID: <[email protected]> Return-Path: [email protected] X-MS-Exchange-Organization-Network-Message-Id: 86e9e170-2b60-4d7c-95e2-08d9ed857dd7 X-C2ProcessedOrg: 19a0f48d-a0b0-410f-ba4f-19af35d3d3d3 X-MS-Exchange-Organization-AuthSource: ****.**** X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Transport-EndToEndLatency: 00:00:00.2215529 X-MS-Exchange-Processed-By-BccFoldering: 15.01.2242.012
Email header info from production not working
MIME-Version: 1.0 Content-Type: multipart/alternative; boundary=--boundary_47_af9e04a6-38f8-43e9-90b2-0d83ed097bd3 X-Virus-Status: Scanned by VirusSMART (c) X-PolicySMART: 15625892, 19897442, 25800812, 25818542 X-SPAM-Status: NO, ALLOW [email protected]:CAU Message-ID: <[email protected]> Return-Path: [email protected] X-MS-Exchange-Organization-Network-Message-Id: b2b2baf6-e372-4dad-7f16-08d9ed838a86 X-MS-Exchange-Organization-AuthSource: ***.***** X-MS-Exchange-Organization-AuthAs: Anonymous
Where can I get information on changing the mail template?
These Forums are dedicated to the discussion of DNN Platform.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.