Page 1 of 1

Include "#" in push email subject

Posted: Tue Oct 27, 2020 2:10 am
by TheWeatherMan
Hello,
I would like to include the # symbol (hashtag, pound) in the subject line of a meteobridge push email. IFTTT needs to have the # symbol in the subject to take action on the email. However, in meteobridge the # symbol is used to separate the subject from the body of the email. This means any text after the # goes into the body and not the subject. For example I would like the pushed email to read:
Subject: #IndoorHum>60#
Body: {blank]

Can anyone think of a workaround for this issue?

Re: Include "#" in push email subject

Posted: Tue Oct 27, 2020 11:05 am
by wvdkuil
TheWeatherMan wrote: Tue Oct 27, 2020 2:10 am Hello,
I would like to include the # symbol (hashtag, pound) in the subject line of a meteobridge push email. IFTTT needs to have the # symbol in the subject to take action on the email. However, in meteobridge the # symbol is used to separate the subject from the body of the email. This means any text after the # goes into the body and not the subject. For example I would like the pushed email to read:
Subject: #IndoorHum>60#
Body: {blank]

Can anyone think of a workaround for this issue?
You could try to html-encode the # to %23
It would then read Subject: %23IndoorHum>60%23
But maybe the % character is rejected also.

Wim

Re: Include "#" in push email subject

Posted: Tue Oct 27, 2020 5:17 pm
by TheWeatherMan
I gave that a shot, but the html character is not being converted to the # symbol when sent, or interpreted as # when received :(

Re: Include "#" in push email subject

Posted: Tue Oct 27, 2020 6:46 pm
by wvdkuil
TheWeatherMan wrote: Tue Oct 27, 2020 5:17 pm I gave that a shot, but the html character is not being converted to the # symbol when sent, or interpreted as # when received :(
Encoding it with a back-slash, try that one ?

Subject: \#IndoorHum>60\#

Re: Include "#" in push email subject

Posted: Wed Oct 28, 2020 12:57 pm
by galfert
wvdkuil wrote: Tue Oct 27, 2020 6:46 pm
TheWeatherMan wrote: Tue Oct 27, 2020 5:17 pm I gave that a shot, but the html character is not being converted to the # symbol when sent, or interpreted as # when received :(
Encoding it with a back-slash, try that one ?

Subject: \#IndoorHum>60\#
That works! But you have to have the # symbol also or it treats it as message with body and no subject. If you don't want anything in the body then just end it with a # symbol.

Therefore to get the desired result it would need to be like this:
\#IndoorHum>60\##