How to stream Blue Iris alerts directly in UI3 on ANY device

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,126
Reaction score
1,237
Location
SF Bay Area
What does the iOS mail link look like with you select 'Copy link' as illustrated in post #38.
 
Last edited:

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,126
Reaction score
1,237
Location
SF Bay Area
Gotcha... I just replicated what you are seeing.

If I open my test email message in Outlook I can at least copy the hyperlink.
1666246340265.png


This is what I get ...
“http://192.168.1.3:8600/ui3.htm?rec=@212772476111303&maximize=1”

Note the surrounding quotes, resulting in a malformed URL. This is certainly why iOS mail ignores the hyperlink.

Suggest emailing Blue Iris support to request the ability to include HTML links in the body text of Blue Iris Email actions.
Or just strip the HTML, then you will get a perfectly usable (however lengthy) hyperlink in the email body.
 
Last edited:

Neverwhere

n3wb
Joined
Dec 21, 2019
Messages
23
Reaction score
13
Location
Greater Vancouver
This is what I get ...
“http://192.168.1.3:8600/ui3.htm?rec=@212772476111303&maximize=1”

Note the surrounding quotes, resulting in a malformed URL. This is certainly why iOS mail ignores the hyperlink.

Suggest emailing Blue Iris support to request the ability to include HTML links in the body text of Blue Iris Email actions.
Or just strip the HTML, then you will get a perfectly usable (however lengthy) hyperlink in the email body.
I went into Blue Iris and on the email settings tab I checked the box about having html in the body of emails (was previously unchecked).

Does checking this box work for you for the link issue?
 

Neverwhere

n3wb
Joined
Dec 21, 2019
Messages
23
Reaction score
13
Location
Greater Vancouver
So…

I changed:
<a href=“&WAN/ui3.htm?rec=&ALERT_DB&maximize=1”>UI3</a>
To
<a href=&WAN/ui3.htm?rec=&ALERT_DB&maximize=1>UI3</a>

(i.e., removed the quotes)
Now the link works in the email.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,126
Reaction score
1,237
Location
SF Bay Area
I went into Blue Iris and on the email settings tab I checked the box about having html in the body of emails (was previously unchecked).

Does checking this box work for you for the link issue?
It did not dawn on me to check if this was a global setting (per email server). It does indeed work.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,126
Reaction score
1,237
Location
SF Bay Area
So…

I changed:
<a href=“&WAN/ui3.htm?rec=&ALERT_DB&maximize=1”>UI3</a>
To
<a href=&WAN/ui3.htm?rec=&ALERT_DB&maximize=1>UI3</a>

(i.e., removed the quotes)
Now the link works in the email.
It appears that Ken needs to fix this, as quotes are required if the url contains spaces. I'll email him... Good catch.
 

jaydeel

BIT Beta Team
Joined
Nov 9, 2016
Messages
1,126
Reaction score
1,237
Location
SF Bay Area
I previously sent this email to Ken...

I think we found a bug in the email action. When we enable “Always use HTML body format” and use a link with the href quoted, the link fails. It works only if the href is unquoted and the URL contains no space characters.
Fails… href=“&LAN/ui3.htm?rec=&ALERT_DB&maximize=1”
Works… href=&LAN/ui3.htm?rec=&ALERT_DB&maximize=1


~~~~~
Ken's reply today...

"Right I don't think the email service is expecting you to put HTML in the body, it's probably quoting that in a way to keep it readable as you entered it.
I will check to see if there are any updates for my email component. That option to use HTML body just sets this state in the email object."
 
Top