NEWS
Read email
-
Hello everyone,
Just settled the GSMSMS adapter and now I want to get SMSs about several important emails together with SMSs about events from sensors or about scheduled ones.
The ioBroker Email adapter can only Send emails but I want ioBroker to read email via IMAP and SMS headers of the new messages to me.
Can anybody advise an appropriate solution pls? -
@diy-ua-0
There is an imap adapter to read email via imap. SMS headers possible with Tasker on Android Mobile. -
@mcu Thank you but I can't find the IMAP
Please advise the source to get it.
Thank you
-
@diy-ua-0 Activate the expertMode
then click on the cat
then load it from Userdefined
and then click on installhttps://github.com/Lucky-ESA/ioBroker.imap
-
@mcu Thank you very much. I never heard about this ioBroker's functionality.
-
@diy-ua-0 If you need help, first read the description.
https://github.com/Lucky-ESA/ioBroker.imap/blob/master/docs/en/README.md -
@mcu Documentation is really cool. Thank you
-
@mcu
Thank you very much again. The script to inform me about awaited email was received looks really easier nowhere:on({id: [].concat(['imap.0.xxxx_xxxx_xxxx_xxx.email.email_01.uid']), change: "ne"}, async function (obj) { let value = obj.state.val; let oldValue = obj.oldState.val; if((getState("imap.0.xxxx_xxxx_xxxx_xxx.email.email_01.subject").val).indexOf("XXXYYYZZZ") != -1) { sendTo("gsmsms.0", "send", {text:`${getState("imap.0.xxxx_xxxx_xxxx_xxx.email.email_01.subject").val}`,recipient:'+XXXXXXXXXXXXXX', alert:false}); }; });