ASPX templates
Version 3.x > ASPX templates > bisform-generated email has "illegal mime header". View modes: 
User avatar
Member
Member
kbonett@uniteform.com - 7/17/2008 3:19:39 AM
   
bisform-generated email has "illegal mime header".
I have a competition entry form which submits an email to a site administrator containing all details from the completed bizform, using the notification email tab in CMSDesk > Tools > BizForms.

When I tested this locally the emails arrive OK in Outlook.

However, on the live site, the admin receives no emails. They get an error message:

"Microsoft Antigen for Exchange found a message matching a filter. The message is currently Purged."

Their IT guys have asked us to fix...
Any ideas??


User avatar
Kentico Developer
Kentico Developer
kentico_martind - 7/29/2008 6:01:07 AM
   
RE:bisform-generated email has "illegal mime header".
Hello,

It seems e-mail has been rejected by Microsoft Antigen software on your server. Please check the settings of the application to find out what could cause the e-mail has been rejected. Maybe there were some words in the message that causes Antigen considered e-mail to be spam. Please make also sure you have specified existing 'from' e-mail address.
Kentico CMS uses standard 'System.Net.Mail' namespace for sending e-mails.

Best Regards,

Martin Dobsicek

User avatar
Member
Member
kbonett@uniteform.com - 7/29/2008 10:29:13 AM
   
RE:bisform-generated email has "illegal mime header".
Thanks Martin.

The problem only occured on the live site - ie errors occured on client's Exchange server. We changed the subject line and "from" email addresses and are still waiting for confirmation that this has been resolved.


User avatar
Member
Member
sroberts - 9/8/2008 5:53:22 AM
   
RE:bisform-generated email has "illegal mime header".
We've been having the same problem - whenever we try to send emails using the newsletter module, we receive Antigen notifications from Outlook and the email is blocked. We have noticed that there are two content-type fields in the email headers. Could this be the cause of the problem? If so, how would we go about fixing the issue?

Here are the email headers below. As you can see there are two separate fields for content-type:

content-type: text/html; format=flowed; delsp=yes; charset="UTF-8"
mime-version: 1.0
from: <SENDER'S ADDRESS>
to: <RECIPIENT ADDRESS>
date: 4 Sep 2008 10:11:32 +0100
subject: =?utf-8?B?RkYgVGVzdA==?=
content-type: text/html; charset=utf-8
content-transfer-encoding: base64
Message-Id: <20080904091133.E32DD10E05D4@mail.capital-iom.com>
Return-Path: <SENDER'S ADDRESS>
X-OriginalArrivalTime: 04 Sep 2008 09:11:55.0956 (UTC) FILETIME=[4724DF40:01C90E6E]
X-EsetId: 504EA52B418978694F48A57B4FDA3C

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 9/8/2008 6:37:30 AM
   
RE:bisform-generated email has "illegal mime header".
Hi,

unfortunately, the double content-type fields are the bug, which is already fixed in 3.1a version. Could you please upgrade to this version? The upgrades could be found here: http://www.kentico.com/Download/Upgrades.aspx

I'm sorry for this inconvenience.

Best regards,
Helena Grulichova