cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
498
Views
5
Helpful
1
Replies

Preformatted text has newlines stripped in email mailout

RedNectar
VIP
VIP

Hi,

I'm not sure if this at all related to my previous post regarding preformatted text , but let me first ask you to look at the code example in an answer given by Claudia de Luna

This is how it appeared in Claudia's answer

 

====================POST Action: Adding VLANs POST Object: 4094 - 4094
Status Code: 200
Reason: OK
========================================
====================POST Action: Adding VLANs POST Object: 4095 - 4095
Status Code: 200
Reason: OK
========================================
====================POST Action: Adding VLANs POST Object: 4096 - 4096
Status Code: 400
Reason: Bad Request
	 Error Text: unknown property value uni/infra/vlanns-[GDL-Legacy-POOL]-static/from-[vlan-4096]-to-[vlan-4096], name dn, class fvnsEncapBlk [(Dn0)] Dn0=, 
========================================
====================POST Action: Adding VLANs POST Object: 4097 - 4097
Status Code: 400
Reason: Bad Request
	 Error Text: unknown property value uni/infra/vlanns-[GDL-Legacy-POOL]-static/from-[vlan-4097]-to-[vlan-4097], name dn, class fvnsEncapBlk [(Dn0)] Dn0=, 

 

But in the email that I received notifying me of the reply, the code block had all the newlines removed, so that it looked like this in my email (this is the exact HTML code from the email)

 


   ====================POST Action: Adding VLANs POST Object: 4094 - 4094 Status Code: 200 Reason: OK ======================================== ====================POST Action: Adding VLANs POST Object: 4095 - 4095 Status Code: 200 Reason: OK ======================================== ====================POST Action: Adding VLANs POST Object: 4096 - 4096 Status Code: 400 Reason: Bad Request Error Text: unknown property value uni/infra/vlanns-[GDL-Legacy-POOL]-static/from-[vlan-4096]-to-[vlan-4096], name dn, class fvnsEncapBlk [(Dn0)] Dn0=, ======================================== ====================POST Action: Adding VLANs POST Object: 4097 - 4097 Status Code: 400 Reason: Bad Request Error Text: unknown property value uni/infra/vlanns-[GDL-Legacy-POOL]-static/from-[vlan-4097]-to-[vlan-4097], name dn, class fvnsEncapBlk [(Dn0)] Dn0=,
  

 

...which is NOT what was posted.  Mind you, it's pretty hard to see in this forum until the problem I mentioned before is fixed. (If the block above appears as one big long single line, then the problem has been fixed)

@Tyler Langston , could you please follow this one up too, lets see if we can get this forum back on track as a forum for professionals.

 

RedNectar aka Chris Welsh.
Forum Tips: 1. Paste images inline - don't attach. 2. Always mark helpful and correct answers, it helps others find what they need.