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

That's interesting. Google eliminated the turn on and off setting for less secure apps and seems to have moved the App passwords from the Security page. When I searched for it earlier, I got a notice that this feature was no longer supported. I found the facility to create App Passwords now hiding under 2FA tab. I created a new App Password. Unfortunately, still not able to send email with this device.

Can telnet to smtp port so it’s not blocked. Just tested my old legacy app that uses gmail smtp server and it's still able to send mail.

I will give this approach a try. Thanks for suggesting.

1 Like

Pretty sure it's not a network issue. I have a legacy application that ran just fine today. It sends email via google smtp server using an App password I set up with google that gets around the latest authentication requirements.

I can telnet to both ports 465 and 587 and the server responds. Pretty sure it's not a network issue. I have a legacy application that ran just fine today. It sends email via google smtp server using an App password I set up with google that gets around the latest authentication requirements. That Access application uses port 465. Still times out.

As i said it is because you are not.using tls. Try telneting and you wont get a reply just an.open and disconnect.

2 Likes

I was able to follow the install process with a little help from the author and I successfully sent email and SMS text notifications via Gmail to myself from HE rules. Works great. Thanks for suggesting this solution.

Be aware, the Google API screens have changed a bit since 2021 when this app was first made available. As a final step in enabling the Google API in this app, you will need to click publish on this screen:

3 Likes

You're welcome.

Post that change/update in the other thread. He'll be happy to update the instructions.

2 Likes

Hello. On HE C7, installed Sendmail through the HPM but I do not see it in devices or anywhere else in Hubitat. I'm missing a basic step in the setup, I assume. Is there documentation on how to implement this? I want to send an email using Rule Machine.

You don't have "Sendmail Pseudo Notification Device" as a device?

How about " LGK Sendmail V2" in Driver's Code?

As far as sending email from RM, set up an action in a rule that sends a notification. Then select this as the notification device.

I see the LGK Sendmail V2 in Driver's Code but I do not see Sendmail Pseudo Notificaiton Device as a device. Also, I do not see it listed as a notification device in RM.

Oh shoot. I must be asleep. If there is no device that appears in the in use by in Drivers Code, then you just need to create one. Try creating a Virtual device with this driver as the device type. From the instructions in the first post.

1 Like

thanks you realize you have to have access to a mail server that is setup without tls or ssl security.

No, I didn't realize that. Do you know of any free, reliable servers I can use?

i have one i installed on my qnap nas that can be set up without tls.. and also i have a mail server hosted locally on windows server.

unfort. hubitat does not support ssl or tls on a telnet socket

alternatively istill use sendmail to get text notificatoins i setup certain email on pushover (free for 1 user) and this delivers texts to me on my att (att recently removed the mail to text gateway).

for outgoing mail you can pretty much setup any free server on a nas or windows or liinux box just use a non std port as port 25 will be blocked by isps unless you have a business connection.