Jump to content

Carriage Return in Custom Emails


Exten

Recommended Posts

I have a custom email with 2 variables.

They look like this:

 

Day Light is ${mod.weather.light.level}

Light Rate is ${mod.weather.light.rate}

 

But when the email arrives it looks like this:

 

Day Light is 44.4 %Light Rate is 7.3 %

 

How do I get it to look like this:

 

Day Light is 44.4 %

Light Rate is 7.3 %

 

I think the carriage return is getting ignored.

Is there a way to put in some ALT-Shifted weird key

combination to get the carriage return to work?

 

Thx folks.

Link to comment

The email does not pass through an ISP email system.

 

ISY994i sends directly to a linux box running sendmail which is physically

located right there in the same garage as the ISY. So it looks like the provider

email system is not in this loop.

 

Pic 2 - I added 2 blank lines twixt the variables.

This made no difference.

 

Pic 1 - Instead of popping the email, I logged into the linux box

and ran mutt - this was so that I could look at the email before

it passed through any email program on my local machine.

 

It appears that the carriage returns and blank lines are being

stripped before they reach my sendmail box.

I think it's happening within the ISY.

Either when the variables are being parsed, or in the ISY Mailer v1.0

as detailed in the screen shot.

 

I tried inserting a blank variable but the state and int variables

apparently cannot hold a blank - must be a number (int) or

in the case of state vars - true/false (whatever...just can't be blank?)

 

Thank you for your time!

post-4039-140474156512_thumb.jpg

post-4039-140474156514_thumb.jpg

Link to comment

I can insert spaces after the 1st variable - they do not get stripped.

Doing this resulted in better presentation for the user, but carriage returns are still stripped.

(the variables are not squished together anymore.)

 

How do I get on the beta firmware testing situation?

Link to comment

Anyone who wants can test a beta. When the next ISY image drop is announced as available it will be a beta. It is your choice to use that beta or not. After a series of betas have been released where the last image is deemed stable it will become the next Official release.

Link to comment

Hi Michel and Lee...I'll go get on that firmware situation.

Love the device and love what it does. Great work!

 

I could sniff some packets and show unequivocally that the carriage returns

do not arrive at my sendmail box but that really doesn't seem necessary

given what I've seen.

 

Keep up the good work and let's automate the whole world :)

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...