Jump to content

Allow custom FROM in email customized content...


GACSALY

Recommended Posts

That way I can have custom text tones/vibrations for each kind of event.

 

The iphone lets me customize text tones/vibrations based on from but not subject or body.

So if email customization had an additional FROM override I could tell what is happening at my house without removing my iphone from my pocket.

 

I have texts sent to my iphone for a number of events (garage door, front door, hallway motion) when I have set AWAY to true. I would like to tell them apart by tone & vibration.

 

Thanks! Michael

Link to comment
  • 2 weeks later...

I push notifications to Prowlapp.com with the ISY and receive them on the iDevice. Prowl gives you 5 different priority levels and you can assign a different sound to each priority on the iDevice. You can also set do not disturb (On/Off/Time Based) and set a priority that will override the DND setting for emergency notifications.

 

I send the notification direct using the network module but it can be done via email as well - just a bit slower with more possible points of failure.

 

 

-Xathros

Link to comment
  • 2 months later...
Hi GACSALY,

 

Are you saying that there should be different From addresses? If so, that's really not going to work with most ISPs as you will need to have different accounts for each From. In short, we would then need to allow for multiple email accounts which is not trivial.

 

With kind regards,

Michel

 

Greetings Michel,

 

I would also like to see this functionality. SMTP communications do not perform any validation on the from line, similar to the return address area on an envelope in postal mail. Currently I have numerous servers I take care of and their RAID notifications all come from non existent addresses so I can easily tell them apart from backup notifications. As long as you are using the SMTP server of your ISP any 'from' field should be fine. A few usage scenarios would be 'entry@home.int', or 'motion@home.int' which would be quite handy to parse, prioritize and label using message rules etc. :)

 

Regards,

 

Scott

Link to comment
I push notifications to Prowlapp.com with the ISY and receive them on the iDevice. Prowl gives you 5 different priority levels and you can assign a different sound to each priority on the iDevice. You can also set do not disturb (On/Off/Time Based) and set a priority that will override the DND setting for emergency notifications.

 

I send the notification direct using the network module but it can be done via email as well - just a bit slower with more possible points of failure.

 

 

-Xathros

 

Prowl is an incredibly handy utility. I currently use it for download completion notifications and any other Growl pushes from compatible systems. I am glad someone else uses this and has shared it with the community. I hadn't even considered modifying the notifications to get pushed through Prowl. My weekend project awaits me! :)

 

Scott

Link to comment
I push notifications to Prowlapp.com with the ISY and receive them on the iDevice. Prowl gives you 5 different priority levels and you can assign a different sound to each priority on the iDevice. You can also set do not disturb (On/Off/Time Based) and set a priority that will override the DND setting for emergency notifications.

 

I send the notification direct using the network module but it can be done via email as well - just a bit slower with more possible points of failure.

 

 

-Xathros

 

Prowl is an incredibly handy utility. I currently use it for download completion notifications and any other Growl pushes from compatible systems. I am glad someone else uses this and has shared it with the community. I hadn't even considered modifying the notifications to get pushed through Prowl. My weekend project awaits me! :)

 

Scott

 

I have almost entirely replaced email/MMS for my ISY notifications. Prowl is much faster and more manageable on the iDevices and with the multiple priorities, very customizable. I would like a wider range of priorities or better yet, a wider range of alert sounds that I could address from inside the notification call.

 

-Xathros

Link to comment
  • 1 month later...
Are you saying that there should be different From addresses? If so, that's really not going to work with most ISPs as you will need to have different accounts for each From. In short, we would then need to allow for multiple email accounts which is not trivial.

I have been doing this with other apps for years so I know it works with all of my SMTP servers.

Scott seems to agree.

I would also like to see this functionality. SMTP communications do not perform any validation on the from line, similar to the return address area on an envelope in postal mail. Currently I have numerous servers I take care of and their RAID notifications all come from non existent addresses so I can easily tell them apart from backup notifications. As long as you are using the SMTP server of your ISP any 'from' field should be fine. A few usage scenarios would be 'entry@home.int', or 'motion@home.int' which would be quite handy to parse, prioritize and label using message rules etc. :)

All this would take is an additional column on the ISY email groups with an optional From Address Override.

This would let me use fully custom text message notify tones (like "garage open") and virtually unlimited sounds as well as custom vibrations when sound is off (I use "~~~~ ~" for front door, "~~~~ ~ ~" for garage).

You know what might work is boxcar for iOS

Boxcar is not good enough for me as it currently only allows its own limited canned sounds that are less than subtle and does not allow custom vibrations.

Prowl is much faster and more manageable on the iDevices and with the multiple priorities, very customizable. I would like a wider range of priorities or better yet, a wider range of alert sounds that I could address from inside the notification call.

Prowl is indeed fast, but just 5 canned sounds just does not meet my needs.

I need more than 5 custom recorded sounds:

 

Garage Open

Garage Close

Door Open

Door Closed

Smoke

Water

Doorbell

Front Motion

Back Motion

Heat over 90

Heat under 40

 

Mobilinc's new push functionality does not cut it either as it seems to have only one push sound.

 

Once From Address Override is implemented (I know you are busy but this does seem really easy to me) I think ISY geeks will see how flexible this is.

 

Gacsaly

Link to comment

For Prowl users looking for more notification options - take a look at Pushover. I have both (and notifymyandroid) and have completely switched over to pushover instead as you can do things like target different alerts to different devices, specify what alert sound to play in the message sent (rather than on each device).

 

Icing on my cake though is Pebble integration. Notifications from ISY pushed to a watch is sweet.

 

To the OP though. There is nothing wrong (RFC wise) with allowing the ISY admin to use differing addresses in the 'From' address - and allowing it to be set on a notification by notification basis. Some MTAs use this as part of spam detection, but the utility for filing messages on platforms like gmail is huge.

 

I could have messages arriving from 'Front Doorbell' or 'Garage Door' instead of everything coming from 'Home'.

Link to comment

Hi GACSALY,

 

ISY is not a full fledged email client. Most home based ISPs (such as comcast) and public SMTP servers (such as google/yahoo) do not allow the From to be different than account's main email address.

 

As such, I will have to humbly decline this request.

 

With kind regards,

Michel

Link to comment
Most home based ISPs (such as comcast) and public SMTP servers (such as google/yahoo) do not allow the From to be different than account's main email address.

 

Sorry, that's not completely true in the context i think we are asking for. I also have been doing this for years - even written software to do this. Also, note that the sender address is in two places - one is for routing (used by he ISP and possibly the source of blockage) and one for display (can be anything - even non-existent addresses).

 

Here is the older RFC http://tools.ietf.org/html/rfc821. (I know, superseded, but all of these details are the same and still current in the newer versions - they are just a lot bigger and more involved).

 

ISPs often don't allow the 'spoofing' of the routing header (the 'MAIL FROM:' command described in section 3.1 before the first blank line signifying the end of the routing header), as you state. That is the basis, I believe, for your statement above. You would normally set this by the username used for authentication, if provided.

 

After DATA command is issued, the RFC821 header is complete, and you are free to send whatever 'From:' header you want in the RFC822 message body (http://tools.ietf.org/html/rfc822). This is usually sent immediately before the 'Subject:' line, and before the first empty line to signify the end of the 822 message header and the start of the body (since RFC822 specified the order to send them). This is used for display purposes in the receiver UA, and that is what we are asking for here.

 

There are no ISPs that I've come across that do not allow arbitrary RFC822 'From:' addresses in smtp messages being routed they their servers. I use Comcast now at home. At the office, I have a test AT&T DSL line that it works fine on. Even gmail allows it (I use it regularly). I cannot speak directly for Yahoo though.

 

We are asking to be able to set the 822 'From' field separately from (and include variable substitution) the 821 'MAIL FROM' (which does often need to match the account at the ISP).

 

Thanks,

 

Michael.

Link to comment
Most home based ISPs (such as comcast) and public SMTP servers (such as google/yahoo) do not allow the From to be different than account's main email address.

There are no ISPs that I've come across that do not allow arbitrary RFC822 'From:' addresses in smtp messages being routed through their servers. I use Comcast now at home. At the office, I have a test AT&T DSL line that it works fine on. Even gmail allows it (I use it regularly). I cannot speak directly for Yahoo though.

I just tested Gmail and it does not work.

It does work with Comcast, ATT, and Your-Site.

I just tested all three and they all worked.

I think gmail used to work but definitely does not work now (it seems to ignore the From).

With the others I can put FROM: ISY99:anything@comcast.net and the iphone gives me the sound I setup for anything@comcast.com.

So at least some ISP DO allow this!

 

If you don't want to do this because it does not work with some ISPs, another option would be to allow multiple smtp servers. Then I could create as many addresses as I needed (gacsalygarageopen@gmail.com) and do my sounds thing that way.

 

If you have some other idea on the best way to get a bunch of custom notification sounds on the iphone for different ISY events I would be very interested. I think this is also a good selling point, a phone saying "Kids are home" or "Smoke detected at home" is pretty compelling.

 

NOTE: my original solution seems easy to implement and would work for me & the other Michael plus even if only one free SMTP server passes the From text, then anyone who wanted this functionality could use it.

 

Thanks!

Link to comment

Hi Michael,

 

Thanks for the details and that's precisely what we are doing (i.e. From/email address in addition to userid). It really does not work with Google and some other ISPs.

 

GACSALY, thanks so very much for the feedback. Instead of implementing a full fledged email client in ISY, I think it would be best to think of other technologies. We are working on a few interesting ideas which might ultimately address this issue + other cool things.

 

Thanks again for your feedback.

 

With kind regards,

Michel

Link to comment

I don't know why nobody else can get mail into their gmail account from 'other' smtp addresses. Just follow the instructions here for hooking up devices that don't do SSL. You don't even need to authenticate.

 

http://support.google.com/a/bin/answer. ... wer=176600

 

Basically, instead of smtp.gmail.com, TLS or SSL, auth and high ports, simply use aspmx.l.google.com, port 25 and no authentication.

 

This is the method to support printers, scanners and other devices without a full smtp mail client (like the ISY) to allow them to send mail to Google hosted mailboxes. You cannot relay to third party mailboxes - but that's not the question here.

 

If you use SPF on the domain, you have a little to do - but gmail sees this as an incoming message and you can use any 'from' address you like. We just need the ui to set it. It works beautifully for other devices (I have several foscams, they all send from unique addresses so I can filter them in the email system).

 

Michael.

Link to comment
Most home based ISPs (such as comcast) and public SMTP servers (such as google/yahoo) do not allow the From to be different than account's main email address.

There are no ISPs that I've come across that do not allow arbitrary RFC822 'From:' addresses in smtp messages being routed through their servers. I use Comcast now at home. At the office, I have a test AT&T DSL line that it works fine on. Even gmail allows it (I use it regularly). I cannot speak directly for Yahoo though.

I just tested Gmail and it does not work.

It does work with Comcast, ATT, and Your-Site.

I just tested all three and they all worked.

I think gmail used to work but definitely does not work now (it seems to ignore the From).

With the others I can put FROM: ISY99:anything@comcast.net and the iphone gives me the sound I setup for anything@comcast.com.

So at least some ISP DO allow this!

 

If you don't want to do this because it does not work with some ISPs, another option would be to allow multiple smtp servers. Then I could create as many addresses as I needed (gacsalygarageopen@gmail.com) and do my sounds thing that way.

 

If you have some other idea on the best way to get a bunch of custom notification sounds on the iphone for different ISY events I would be very interested. I think this is also a good selling point, a phone saying "Kids are home" or "Smoke detected at home" is pretty compelling.

 

NOTE: my original solution seems easy to implement and would work for me & the other Michael plus even if only one free SMTP server passes the From text, then anyone who wanted this functionality could use it.

 

Thanks!

 

See my about about gmail. It does work - but you need to follow their instructions for devices like printers and scanners and don't authenticate. If you authenticate then you are restricted to the auth account in the 'from'. This is because the message has to be put in the 'sent items' - a feature of using a full email client (that the ISY is not).

 

As far as other ideas - take a look at Pushover. It's not a free app - but supports cloud messaging services for both Apple and Google - and provides and API you can call from the ISY via the networking module to push messages. Thru the API, you can designate custom sounds for each alert.

 

Michael.

Link to comment

Michel,

 

Just to be clear. What we are asking for is (I think) moving the 'From*' setting from being in one place only (on the 'Configuration' 'Emails/Notifications' 'Settings/Groups' 'SMTP Settings' area to being something that can be configured on a group by group basis - just like the list of recipients for each group can be customized.

 

That would allow us to configure a different group for each source address and (at least) have a different Name (even if the ISP requires the actual address to match the address being authenticated).

 

Michael.

Link to comment

Hi Michael,

 

Yes, I understand and the main question for me would be:

1. What type of support issues are we going to have especially for simpler installations

2. Can the time we spend on this feature be used to implement something more elegant that does not require SMTP

 

At the moment, we are working on some pretty exciting enhancements which might make this requirement moot.

 

With kind regards,

Michel

Link to comment

At the moment, we are working on some pretty exciting enhancements which might make this requirement moot.

 

Sounds good. Obviously, without knowledge of the solution it's difficult to know how to react. The best I can do is present the use case we have so that you can engineer the best possible solution. It sounds like it is understood what is trying to be done.

 

I look forward to finding out what you have planned (might I suggest IFTTT integration.. :) )

 

Thanks!

 

Michael.

Link to comment
Hi Michael,

 

I just wished I could divulge what we are doing but I have to stop myself.

 

It has to do with communications with other things on the Internet!

 

With kind regards,

Michel

 

I understand. I can't say I blame you.

 

Thanks!

 

Michael.

Link to comment
  • 3 weeks later...

Just as a follow up for those who use google.

 

For google to allow you to use additional 'From:' fields, you must validate them as aliases in the settings area. If you are using a complete custom address this will not work for you, however, if you own your own domain and have a catch all you are fine.

 

Simply goto settings, and you will see aliases, add the 'e-mail' address you want to be able to 'send' from, they will forward a validation e-mail and you will be able to send in the future using that address.

 

FYI, you can do this for any of your e-mail addresses and setup google as your smtp server, this will allow you to roam from carrier to carrier without modifying SMTP server settings.

Link to comment

I would be SO happy if all my SMS/text messages came from the same place. Am I doing something wrong?

 

SMTP Server: [smtp.gmail.com]

SMTP Port: [587]

From [MyISY]

 

My emails come through just perfectly, everything as expected.

 

But my texts come from a different phone number every time. The "phone number" is 1(410) 000-123 and the 123 portion increments from every message. This is horrible as I can't even group the messages to delete the bunch.

 

I've coded the message like this;

Subject: Sunset ${sys.sunset12}$

Body: Program started.

 

And the recipient is [111223333@txt.att.net] (with my real phone number instead of 1112223333).

 

The actual text comes through to my iPhone as follows;

--------------------

FRM:MyISY

SUBJ:Sunset 8:07:41 PM

MSG:Program started.

--------------------

 

I do not want FRM:, SUBJ: or MSG: included in the message. They make it hard to read and are a waste of characters.

 

Where is the problem; ISY, AT&T, Gmail?

 

 

TIA... BitSmith.

Link to comment
With Sprint my email address comes up as the sender. Not a phone number at all.

You sure it's coming thru as a SMS? If you are seeing an email address as the from, it's probably a MMS.

 

SMS only supports E.194 addresses (phone numbers)

 

MMS supports rfc822 addresses as well as E194 as the from address

 

With AT&T, you could try sending to 1231231234@mms.att.net. It used to work to send as MMS with better formatting. I don't know off the top of my head is that still works though.

 

Update: just tested number@mms.att.net. Still works. BitSmith, this may be more what you need for a consistent 'from' address. And better message content format.

 

Michael.

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...