Traditore Posted March 2, 2013 Share Posted March 2, 2013 I set up a notification. Subject is: Testing Body is: Leak detected in downstairs bathroom Format is: Text No more, no less. No variables involved either. The e-mail I receive when I test this: Mime-Version:1.0 Content-Type: text/plain; charset="utf-8" Leak detected in downstairs bathroom. What's with the first two lines??? Link to comment
bsobel Posted March 3, 2013 Share Posted March 3, 2013 Those two lines are email headers, they should not occur in the body. Did you somehow get an extra CRLF into the Subject line? That would cause this. Can you post the raw message you received, headers and all? Link to comment
Traditore Posted March 3, 2013 Author Share Posted March 3, 2013 I think you were right. There was an extra CRLF in there. But if the subject is: ISY ALARM ${alert.details} I get this in Gmail: Subject: ISY ALARM At: 2013/03/03 4:57:24 PM Body: Mime-Version:1.0 Content-Type: text/plain; charset="utf-8" Testing And I know I didn't leave out a CRLF anywhere. So why the Mime stuff? If the subject is: ${alert.details} ISY ALARM, I get this in Gmail: Subject: At: 2013/03/03 5:01:15 PM Body: Testing No mention of ISY ALARM... Unless I remove the space and write the subject like this: ${alert.details}ISY ALARM Subject: Body: ISY ALARM Mime-Version:1.0 Content-Type: text/plain; charset="utf-8" Testing But part of the subject ends up in the body... I'm puzzled... Link to comment
Traditore Posted March 3, 2013 Author Share Posted March 3, 2013 And if I write it like this: ISY ALARM${alert.details} I get: Subject: ISY ALARM At: 2013/03/03 5:08:34 PM Body: Mime-Version:1.0 Content-Type: text/plain; charset="utf-8" Testing Link to comment
Michel Kohanim Posted March 4, 2013 Share Posted March 4, 2013 Hello Traditore, bsobel is right on. Can you please let me know which SMTP server you are using? And, would it be possible to use either gmail or default just to test differences if any? With kind regards, Michel Link to comment
Traditore Posted March 4, 2013 Author Share Posted March 4, 2013 I'm using smtp.gmail.com, port 587. User ID : my Gmail address. Password: my Gmail password. From*: ISY. Timeout: 1000. Use TLS: checked. I see the *First-Name Last-Name:Email-Address line, but I don't know what it means for the From* field above. I only had time to test one of the possibilities I mentioned before and the result is the same. Using the Default SMTP server, I get this from alerts@universal-devices.com: Subject: ISY ALARM At: 2013/03/04 8:08:55 AM Body: Mime-Version:1.0 Content-Type: text/plain; charset="utf-8" Testing Link to comment
Michel Kohanim Posted March 6, 2013 Share Posted March 6, 2013 Traditore, Would you please send an email to tech@universal-devices.com? I'll send you a URL to an ISY in the lab and, if you don'd mind, please create the content and we'll test. I really cannot reproduce this problem no matter what I tried. With kind regards, Michel Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.