SMS Phase out

There are many advantages to running a local stmp server especially when the hub runs local. It all matters how you look at it.

But here is a simple script that does it.

https://gist.githubusercontent.com/quchie/3e02c5d5df8de804e8e0/raw/cfff612aaf5f380b4cf28841efa13a1f620b0499/Send%20Email.groovy

1 Like

Yes, but you can't do that locally on Hubitat at the moment, can we agree on that? So, that means you would have to run something on another device. Which is a community based solution that is out there already. I have an RPi that runs sendmail through a nodeJS server and allows me to send email from hubitat. There is documentation here on the forum for that.

Your idea might be technically possible but it requires you to either have OS access, which we don't, or for the Hubitat team to decide to implement an STMP server on the hub, which I highly doubt is anywhere in their plans. So, rather than just hope that changes, why not implement a solution today that works? You can always change to your perfect solution if it ever comes. Isn't something better than nothing even if it isn't perfect?

Anything that is a workable solution is better then nothing but many users aren't going to be willing to buy a pi or muchless install and learn how to run nodeJS. As you know most users that are just now coming here are point and click users.. yes they can learn but do they ? Most novice users won't.

My suggestion to add JavaMail is worth the exploration for HE hubs. It would also be the only hub that offers it aside the PI HA versions.

The solution would be as easy as this HOWTO...

https://www.mkyong.com/java/javamail-api-sending-email-via-gmail-smtp-example/

2 Likes

Does java mail send via SMTP (port 25)? What do you do about all those ISPs that block STMP on your home internet? That is very common here and even more common in Europe, from what I have read.

Gmail also offers port 465. ISP's do not block that port since it's SSL/TLS

submissions 465/tcp ssmtp smtps urd # Submission over TLS [RFC8314]

2 Likes

So, it would only work if you have a Gmail address to access it? I don't really think you've thought this 100% of the way through. Don't you think if it was as easy as you say, they would have done it already?

Dude nearly EVERY email service offers port 465 just for that reason. It's obvious you don't understand the way the internet works.

2 Likes

Now you're just being a jerk for absolutely no reason. Just because your argument doesn't hold up, don't start calling me names. It's not very mature.

You started the insults...

I have been a network admin for 3 decades. I know what I am talking about.

1 Like

That's an insult? Uhm....I'm just going to let that one lay there where it fell. Good night.

Sounds good with me...

People... Why end it like this. Such a shame.
I hope you can wake up and forgive each other. Would be nice!

About the email: so it's a feature request to be able send email through any cloud available smtp server. (You don't have to, and don't want to run your own SMTP server)
And no, it's not available at this moment on HE.

Wow, this reminds me of back in the early 2000s when the providers gouged you at least 50 cents for each text. It was ridiculous then and it's still ridiculous now.

No idea what you mean by this. I just didn't spend any money on sms and used chat programs that went through the data service. Problem solved.

Apparently I didn't get your first message. Sorry.

Not to reopen this can of worms but I would be very interested in seeing email capability built into the Hubitat. I can tell you that if this were an option, I would get many of these for my organization to monitor remote sites and different areas of the organization. I wouldn't need to send externally. I just want to be able to send an email to myself and others if something is out of range.

That being said, for home, it looks like I am going to have to use pushover. Is there a topic already on the forums that describes how to set it up and utilize it in my rules? Thanks.

1 Like

Once you manually add the Virtual Pushover Device, and configure its settings, it will show up as a Notification device in any Apps that support sending a notification. The Hubitat Mobile Phone App also creates a Notification device on your hub which also can be used to receive push notifications. The nice thing about Hubitat, is that is doesn't matter which 'notification' method you choose, they all end up as a simple device that you can select.

If you have multiple users in your home, you can create a Pushover device on your hub for each of these users. Installing Pushover on their phones, and using your same Pushover credentials on every device, will allow you to configure each Pushover Device on Hubitat with a single user's device.

For more info on Pushover, take a look through the following thread...

1 Like

@Kato

If you have anything running Linux, look into this integration:

I use it to get some of my notifications by SMS (email to SMS). I also use it to send other notifications to me by email.

1 Like

@ogiewon and @aaiyar - thanks for the replies! I will look into those options and recommendations you listed.

2 Likes