ILoveControl Posted October 4, 2014 Share Posted October 4, 2014 Good day all, I am trying to figure out if there are any specifics or even better a manual for formatting in the Email Agent. I am trying to get line breaks so that I can get a properly formatted email. On SOME of the text a ENTER via the keyboard when writing the EMAIL Template on the EMAIL agent works, on others it doesn't, I have used both /n and \n to try and force the line break but nothing happens it merely includes this as text - composer version 2.6: MAIN BEDROOM:<_________THIS BREAK WORKS - WAS A ENTER ON THE KEYBOARD_____________>DRESSING ROOM LIGHT WAS ON FOR: ${Master Bedroom::Adaptive Phase Dimmer::MINUTES_ON_TODAY} IT USED THE FOLLOWING ELECTRICITY: ${Master Bedroom::Adaptive Phase Dimmer::ENERGY_USED_TODAY} \n <_________THIS BREAK DOESNT WORK - WAS A ENTER ON THE KEYBOARD and using the RETURN ChAR_____________>MAIN BEDROOM LIGHT WAS ON FOR: ${Master Bedroom::Adaptive Phase Dimmer::MINUTES_ON_TODAY} IT USED THE FOLLOWING ELECTRICYITY: ${Master Bedroom::Adaptive Phase Dimmer::ENERGY_USED_TODAY} \n<_________THIS BREAK DOESNT WORK - WAS A ENTER ON THE KEYBOARD and using the RETURN ChAR_____________>BATHROOM LIGHT WAS ON FOR: ${Master Bedroom::Adaptive Phase Dimmer::MINUTES_ON_TODAY} IT USED THE FOLLOWING ELECTRICYITY: ${Master Bedroom::Adaptive Phase Dimmer::ENERGY_USED_TODAY} \n<_________THIS BREAK DOESNT WORK - WAS A ENTER ON THE KEYBOARD and using the RETURN ChAR_____________>KITCHEN<_________THIS BREAK WORKS - WAS A ENTER ON THE KEYBOARD_____________>KITCHEN MAIN LIGHT WAS ON FOR:${Kitchen::Keypad Dimmer::MINUTES_ON_TODAY} IT USED THE FOLLOWING ELECTRICITY: ${Kitchen::Keypad Dimmer::ENERGY_USED_TODAY} /nKITCHEN UNDER LIGHTS WAS ON FOR: ${Kitchen::Adaptive Phase Dimmer::MINUTES_ON_TODAY} IT USED THE FOLLOWING ELECTRICITY: ${Kitchen::Adaptive Phase Dimmer::ENERGY_USED_TODAY} /n Link to comment Share on other sites More sharing options...
ILoveControl Posted October 4, 2014 Author Share Posted October 4, 2014 Update: \r\n doesn' work either: MAIN BEDROOM:DRESSING ROOM LIGHT WAS ON FOR: 291 IT USED THE FOLLOWING ELECTRICITY: 299 \r\n MAIN BEDROOM LIGHT WAS ON FOR: 291 IT USED THE FOLLOWING ELECTRICYITY: 299 \r\n BATHROOM LIGHT WAS ON FOR: 291 IT USED THE FOLLOWING ELECTRICYITY: 299 \r\n Link to comment Share on other sites More sharing options...
Godzilla Posted October 5, 2014 Share Posted October 5, 2014 this is being looked into Link to comment Share on other sites More sharing options...
ILoveControl Posted October 5, 2014 Author Share Posted October 5, 2014 this is being looked intoLooked into by whom ? Link to comment Share on other sites More sharing options...
Cyknight Posted October 5, 2014 Share Posted October 5, 2014 Myself for example, trying to get some answers - some answer if this is an intentional change. As it stands - 'normal' formatting seems to work flawlessly for me, ie enter to cut sentence, another enter to create a full break, and indeed the old requirement of \n is no longer there. Link to comment Share on other sites More sharing options...
alanchow Posted October 6, 2014 Share Posted October 6, 2014 If you want to use an alternative to 4sight you can utilise our SMTP driver which is part of our notification suite. http://www.chowmain.co.nz/smtp This will allow you to do HTML based formatting so line breaks, bold, italics, colours, image src, etc. Will also allow you to utilise your own email service so you can reply back to the emails. I utilise it mainly to do door bell camera image attachments for my house. Looks quite professional when it gets delivered to my email box. Link to comment Share on other sites More sharing options...
Cyknight Posted October 6, 2014 Share Posted October 6, 2014 It would indeed seem this is a change in 2.6. \n is no longer needed and email formatting should work as normal email would - causing the \n to now show up as text. Link to comment Share on other sites More sharing options...
ILoveControl Posted October 8, 2014 Author Share Posted October 8, 2014 @alanchow seems like a good option, how would you attached items to the mail, is there a guide once I buy the driver Does the driver allow for some sort of logic coding (this would be a nice feature if it did) i.e.If AlarmSensor ==0 then"AlarmSendor is Triggered"EndIFThat way instead of having:AlarmSensor1 : 0AlarmSensor2 : 0AlarmSensor3 : 1You could haveAlarmSensor1 : TRIGGEREDAlarmSensor2 : TRIGGEREDAlarmSensor3 : ACTIVEI am not sure if this is making sense?Sent from my Surface Pro 3 using Tapatalk Link to comment Share on other sites More sharing options...
ILoveControl Posted October 8, 2014 Author Share Posted October 8, 2014 @cyknight something has def changed in 2.6 on formatting would be nice if they actually gave us the change log. It also does not seem to be consistent some things a enter in the template gives you a new line when it sends the mail, some things it doesn't as per my example aboveSent from my Surface Pro 3 using Tapatalk Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.