Portal Engine
Version 3.x > Portal Engine > BizForm Email Format View modes: 
User avatar
Member
Member
wrightam-comcast - 1/16/2009 8:58:39 AM
   
BizForm Email Format
Is there anyway to make sure that the emails sent by a BizForm is plain text? We are wanting to send out a notification email with XML tags when the BizForm is submitted, but it looks as though the XML is being stripped out and I'm and being told from the email server guys that the likely cause is that Kentico is sending out the email as HTML instead of plain text, resulting in the XML being stripped from the file.

Thanks

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 1/16/2009 12:45:12 PM
   
RE:BizForm Email Format
Hello,

You could use:
CMS.EmailEngine.EmailMessage em = new CMS.EmailEngine.EmailMessage();
em.EmailFormat = CMS.EmailEngine.EmailFormatEnum.PlainText;
in your code.

Best regards,
Helena Grulichova

User avatar
Member
Member
jefferey.berger-gmail - 4/1/2013 2:13:32 PM
   
RE:BizForm Email Format
Is this still the best way?

Also, would I add this code directly into the source of the notification email or do I need to make this addition somewhere else?

Thanks,
Jeff

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 4/2/2013 2:45:16 AM
   
RE:BizForm Email Format
Hello Jeff,

This is a pretty old thread realted to version 3, I suppose you are using some newer verstion of Kentico. And also... version 3 is not supported anymore.

Could you please create a new thread under appropriate version? Thanks for understading.

Best regards,
Martin Danko