Email notifier
Posted: Wed Jun 01, 2011 2:28 pm
This is a Windows application that will send email messages to a Samsung TV's Message function. It was developed for a B650 TV, but should also work on other high-end B-series, including B750 and B7000 series. It may also work on C-series with "AllShare".
The Message function was designed for use with a few Samsung cell-phones. The message format and protocols were revealed by this project (member doodlecz in particular, http://forum.samygo.tv/viewtopic.php?f= ... t=40#p5245), and I thought it would be good to have it do something more useful. Since then, a few other applications have appeared, and maybe more are in development.
My idea was to use the service to view incoming e-mail. I am not much of a programmer, but I was inspired by member moras86's Remote Control application to learn how to use the Windows "AutoIt" scripting language, and chose this application as a learning project. It's been developed to the point where it's working reasonably well on my own mailboxes, but it needs wider testing, so I've uploaded it in the hope that others will try it out and provide some feedback.
The download "readme" file describes what the app does and how to set it up. In summary, the app is designed to run on a (networked) Windows system, periodically checking a POP3 mail-box for new messages and sending plain-text details to a Samsung TV with Message function enabled. The TV will then notify the viewer a new "SMS" message has arrived and prompt for its display.
Run the app once to set up the basic parameters. It's advisable to use a PC with a working mail client, to ensure there's no networking issue, but the latest version has a test mode that will carry out a communications check for the POP server. The TV Message function can also be checked using this mode.
Issues that may be seen will include the "Unique ID" (UID) and the formatting of messages (causing problems in sending). The debug file, if enabled, should provide some help for feedback. UID is used to track messages and the format varies from server to server, so the regular string expression used to parse the sequence number might need to change - post back the UID lines from the debug file if you're not sure how to do this. Alternatively, you can set the parameter "Non-sequential UID" to "1" - this doesn't look for the sequence number, but instead stores the full UID in a separate file for tracking, but it hasn't been as well tested and may not be as reliable.
Other issues may relate to the formatting of messages. Emails have many different headers and an almost infinite variety of combinations, but I have managed to get a reasonable representation of plain-text (including multipart and conversion of quoted-printable characters). I have also put in some filters for garbage in Subject and Address headers (sourceforge.com is the worst for these, though other subscription or unsolicited sources do it as well). Please let me have details of any problems.
Edit: for latest download links, see post http://forum.samygo.tv/viewtopic.php?f= ... 322#p29544
The Message function was designed for use with a few Samsung cell-phones. The message format and protocols were revealed by this project (member doodlecz in particular, http://forum.samygo.tv/viewtopic.php?f= ... t=40#p5245), and I thought it would be good to have it do something more useful. Since then, a few other applications have appeared, and maybe more are in development.
My idea was to use the service to view incoming e-mail. I am not much of a programmer, but I was inspired by member moras86's Remote Control application to learn how to use the Windows "AutoIt" scripting language, and chose this application as a learning project. It's been developed to the point where it's working reasonably well on my own mailboxes, but it needs wider testing, so I've uploaded it in the hope that others will try it out and provide some feedback.
The download "readme" file describes what the app does and how to set it up. In summary, the app is designed to run on a (networked) Windows system, periodically checking a POP3 mail-box for new messages and sending plain-text details to a Samsung TV with Message function enabled. The TV will then notify the viewer a new "SMS" message has arrived and prompt for its display.
Run the app once to set up the basic parameters. It's advisable to use a PC with a working mail client, to ensure there's no networking issue, but the latest version has a test mode that will carry out a communications check for the POP server. The TV Message function can also be checked using this mode.
Issues that may be seen will include the "Unique ID" (UID) and the formatting of messages (causing problems in sending). The debug file, if enabled, should provide some help for feedback. UID is used to track messages and the format varies from server to server, so the regular string expression used to parse the sequence number might need to change - post back the UID lines from the debug file if you're not sure how to do this. Alternatively, you can set the parameter "Non-sequential UID" to "1" - this doesn't look for the sequence number, but instead stores the full UID in a separate file for tracking, but it hasn't been as well tested and may not be as reliable.
Other issues may relate to the formatting of messages. Emails have many different headers and an almost infinite variety of combinations, but I have managed to get a reasonable representation of plain-text (including multipart and conversion of quoted-printable characters). I have also put in some filters for garbage in Subject and Address headers (sourceforge.com is the worst for these, though other subscription or unsolicited sources do it as well). Please let me have details of any problems.
Edit: for latest download links, see post http://forum.samygo.tv/viewtopic.php?f= ... 322#p29544