Commit de2b3f12 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_crm: Emails are sent as they are writen w/o conversion

parent be8fd25f
...@@ -95,8 +95,8 @@ The slapos team ...@@ -95,8 +95,8 @@ The slapos team
notification_message = self.portal.notification_message_module.newContent( notification_message = self.portal.notification_message_module.newContent(
portal_type="Notification Message", portal_type="Notification Message",
title='Test NM title %s' % new_id, title='Test NM title %s' % new_id,
text_content='Test NM content<br/>%s<br/>' % new_id, text_content='Test NM content\n%s\n' % new_id,
content_type='text/html', content_type='text/plain',
) )
self.portal.REQUEST\ self.portal.REQUEST\
['test_addRegularisationRequest_notification_message'] = \ ['test_addRegularisationRequest_notification_message'] = \
...@@ -866,8 +866,8 @@ The slapos team ...@@ -866,8 +866,8 @@ The slapos team
notification_message = self.portal.notification_message_module.newContent( notification_message = self.portal.notification_message_module.newContent(
portal_type="Notification Message", portal_type="Notification Message",
title='Test NM title %s' % new_id, title='Test NM title %s' % new_id,
text_content='Test NM content<br/>%s<br/>' % new_id, text_content='Test NM content\n%s\n' % new_id,
content_type='text/html', content_type='text/plain',
) )
self.portal.REQUEST\ self.portal.REQUEST\
['test_checkToTriggerNextEscalationStep_notification_message'] = \ ['test_checkToTriggerNextEscalationStep_notification_message'] = \
...@@ -938,8 +938,8 @@ The slapos team ...@@ -938,8 +938,8 @@ The slapos team
notification_message = self.portal.notification_message_module.newContent( notification_message = self.portal.notification_message_module.newContent(
portal_type="Notification Message", portal_type="Notification Message",
title='Test NM title %s' % new_id, title='Test NM title %s' % new_id,
text_content='Test NM content<br/>%s<br/>' % new_id, text_content='Test NM content\n%s\n' % new_id,
content_type='text/html', content_type='text/plain',
) )
self.portal.REQUEST\ self.portal.REQUEST\
['test_checkToTriggerNextEscalationStep_notification_message'] = \ ['test_checkToTriggerNextEscalationStep_notification_message'] = \
...@@ -1010,8 +1010,8 @@ The slapos team ...@@ -1010,8 +1010,8 @@ The slapos team
notification_message = self.portal.notification_message_module.newContent( notification_message = self.portal.notification_message_module.newContent(
portal_type="Notification Message", portal_type="Notification Message",
title='Test NM title %s' % new_id, title='Test NM title %s' % new_id,
text_content='Test NM content<br/>%s<br/>' % new_id, text_content='Test NM content\n%s\n' % new_id,
content_type='text/html', content_type='text/plain',
) )
self.portal.REQUEST\ self.portal.REQUEST\
['test_checkToTriggerNextEscalationStep_notification_message'] = \ ['test_checkToTriggerNextEscalationStep_notification_message'] = \
...@@ -1082,8 +1082,8 @@ The slapos team ...@@ -1082,8 +1082,8 @@ The slapos team
notification_message = self.portal.notification_message_module.newContent( notification_message = self.portal.notification_message_module.newContent(
portal_type="Notification Message", portal_type="Notification Message",
title='Test NM title %s' % new_id, title='Test NM title %s' % new_id,
text_content='Test NM content<br/>%s<br/>' % new_id, text_content='Test NM content\n%s\n' % new_id,
content_type='text/html', content_type='text/plain',
) )
self.portal.REQUEST\ self.portal.REQUEST\
['test_checkToTriggerNextEscalationStep_notification_message'] = \ ['test_checkToTriggerNextEscalationStep_notification_message'] = \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment