Sendmail - Send email and text notifications, (notification device) no local server needed

You can also try sending direct to att bypassing the middle man but your isp/charter will have to allow sending on port 25 but not sure if they do

Ie

1 Like

It's just weird that regular emails work, but emails as texts don't.
Plus, I can send emails as texts to our ATT phones from my Charter (Spectrum) web interface email.
It seemed to start when mail.charter.net didn't work and mail.twc.com did..
Oh well. I really got used to it being there.
edit: I read that even Twilio is going away for the little guy.

Not surprising just as i described. Web interface uses a different server . Its the twc server that is being blocked... probably reports of it being used to spam or scam people.

Have you tried direct to att server as i posted.

Yes.

Hey dude - I am sorry. I didnt mean to infer that sendmail was lame. Verizon and AT&T both block email to text and/or delay them and they are lame. Its 100% on me that I could not get sendmail working. Theres a lot of parameters that need to be figured out and every provider is different. I contacted my different providers (also lame) and they couldnt figure out why they were blocking based on "220-we do not authorize the use of this system to transport unsolicited" event with their ssl turned off.

I have smarthings still because I need it to talk to my appliances. I ended up using Mira to emulate devices back to smarthings, then use their free text service for my events like the gate, garage and sensors changing when I am away. Stupid easy and cheaper than a NAS or other equipment when I already had smarthings going.

1 Like

Well, July 28 was my last email notification via AT&T. So, looks like they cut that off too.
Oh well.

Just tested both my hubs att email still working fine.

2 Likes

It now rejects my authentication.

I keep getting this. The username and password are correct and worked in the past.
This is Spectrum.

image

I don't think is, but could this be a factor?
image

for anyone looking to setup a relay with sendmail.. i was succesfully able to setup a free smtp2go
account and use it to send a text messge via att..

some things to note.. you need to setup a further trusted sender username and password under your main smtp2g account on the smtp users/manage smtp users page.

this is the username and password that you need to put in the usernamame and password fields..
you also need to enable authentication and ehelo..
this username and password needs to be base64 encoded before entering into your fields below.
recommend using https://www.base64encode.org/

ie see below.

3 Likes

It didn't work for me with my yahoo or charter email addresses. Shared, I think it said.

I had tried this app a few times as a way to get off of Twilio and I could never make it work with my own mail servers. Maybe the advice below was posted for general use and I missed it, but when I saw that you said to encode the username and password for use with smtp2go, I tried it for accessing my own servers - and there it is - fully functional! Thanks!

2 Likes

Did something break with C-8 new installs? I was using this app on my c-5 and I recently upgraded to a C-8. Rather than bringing years of testing, I thought I would go with a fresh install.
I tried to import this app from https://raw.githubusercontent.com/lgkahn/hubitat/master/lgkemailv3.groovy but I get an "No signature of method: Script1.attribute() is applicable for argument types: (java.lang.String, java.lang.String) values: [lastCommand, string] on line 143" error.
Am I missing something?

Never mind, I see what I did wrong... time fogs the mind.

2 Likes

You're lucky, you still have a mind. Wait until you get to be my age... :wink:

2 Likes

image

4 Likes

Today 12/31/23 when this app sends an email, the date seems to display 2024 which is a day early. Anyone else receiving this? My email shows 12/31/2024 instead of 12/31/2023 only for emails sent from this app.

The header of the email shows the following:

Date: Sun, 31 Dec 2024 7:52:02 -0500

Yep. That has to be a bug in hubitat as this is how the date is generated.

Ir..

@gopher.ny

You're in the Sendmail topic.

You want to post your question in the web core topic, where the web-corians hang out.

1 Like