Bug reports Found a bug? Post it here please.
Version 5.x > Bug reports > Bizform notification email sent out in different format than specified in Settings:Emails View modes: 
User avatar
Member
Member
nvpat - 7/13/2011 5:09:45 PM
   
Bizform notification email sent out in different format than specified in Settings:Emails
In my site settings, I have E-mail format set to Plain text. However, when a BizForm notification email gets sent, its content-type header is "text/html; charset=utf-8". Does the E-mail format setting not apply to these emails? I'm using v5.5.4202 R2

Thanks.

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 7/15/2011 9:41:34 AM
   
RE:Bizform notification email sent out in different format than specified in Settings:Emails
Hello,

This is actually a by design behavior. Currently, only e-mails which use e-mail templates can be sent with the 'text/plain' content type (excluding testing e-mails of course).

At any rate, there might be a change in this behavior in upcoming version. But no promise at this stage.

Best regards
Ondrej Vasil

User avatar
Member
Member
aaron.bundschuh@adaptdev.com - 1/20/2012 12:40:17 PM
   
RE:Bizform notification email sent out in different format than specified in Settings:Emails
Has anything changed on this topic. We are sending a BizForm notification and need it to be non-HTML as it is set in the Global settings.

If there is no way to modify this, is there an easy way to tie a BizForm to a email template where we can dictate HTML v. non-HTML?

Best,
Aaron

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 1/23/2012 2:10:14 AM
   
RE:Bizform notification email sent out in different format than specified in Settings:Emails
Hello,

regrettably, it is not yet implemented. We are considering this feature for next versions. You can also suggest it on kentico.uservoice.com to speed up the implementation.

Nowadays, if you need the plain text you can clone the current BizForm web part, switch off the notifications and send them by API in the code behind. Please see here: Modifying code of standard web parts for a sample code.

Best regards,
Helena Grulichova

User avatar
Member
Member
seanbun - 6/6/2013 12:02:47 AM
   
RE:Bizform notification email sent out in different format than specified in Settings:Emails
Just want to check if Kentico v7 can send out plain text notification out of the box?

User avatar
Member
Member
seanbun - 6/6/2013 12:07:59 AM
   
RE:Bizform notification email sent out in different format than specified in Settings:Emails
I mean can I configure a Bizform to send out plain text email out of the box?

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 6/6/2013 1:17:03 AM
   
RE:Bizform notification email sent out in different format than specified in Settings:Emails
Hi Sean,

Yes, you can configure E-mail format via CMS Site Manager -> Settings -> System -> E-mails -> General section -> E-mail format

Or if you want to send E-mails via API as mentioned before:
CMS.EmailEngine.EmailMessage em = new CMS.EmailEngine.EmailMessage();
em.EmailFormat = CMS.EmailEngine.EmailFormatEnum.PlainText;

Best regards,
Martin Danko

User avatar
Member
Member
seanbun - 6/6/2013 1:22:01 AM
   
RE:Bizform notification email sent out in different format than specified in Settings:Emails
Thank you for your prompt reply.

Apparently, if I only want to switch one Form to plain text notification, I need to work on code.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 6/6/2013 1:41:01 AM
   
RE:Bizform notification email sent out in different format than specified in Settings:Emails
Hi Sean,

You can eventually try to edit the Notification e-mail template via CMS Desk ... Notification e-mails and edit the Source of the E-mail in CKEditor, but this should still generate some basic HTML tags so other wise, the only way to send out plain text notification will be just by the code.

Best regards,
Martin Danko