# \#mail

**URL:** https://community.openhab.org/tag/mail/199.md

[Latest](https://community.openhab.org/latest.md) · [Categories](https://community.openhab.org/categories.md) · [Tags](https://community.openhab.org/tags.md)

---

## [Mail Binding - OH3.3 - Cannot send Email - javax.net.ssl.SSLHandshakeException](https://community.openhab.org/t/mail-binding-oh3-3-cannot-send-email-javax-net-ssl-sslhandshakeexception/137179)

<div class="topic-metadata">

**Author:** [@sirupflex](https://community.openhab.org/u/sirupflex)\
**Replies:** 3\
**Last updated:** [June 11, 2025, 12:37pm UTC](https://community.openhab.org/t/mail-binding-oh3-3-cannot-send-email-javax-net-ssl-sslhandshakeexception/137179 "2025-06-11T12:37:50Z")

</div>

Hi all, I’m running OH 3.3.0 in docker on a QNAP NAS and I am struggling with sending emails. I’ve read through a lot of similar threads in the community but could not find an answer. This is my test script: val mail…

---

## [Mail libraries longer content to send from different items](https://community.openhab.org/t/mail-libraries-longer-content-to-send-from-different-items/162459)

<div class="topic-metadata">

**Author:** [@scheuerer](https://community.openhab.org/u/scheuerer)\
**Replies:** 3\
**Last updated:** [February 13, 2025, 6:58pm UTC](https://community.openhab.org/t/mail-libraries-longer-content-to-send-from-different-items/162459 "2025-02-13T18:58:25Z")

</div>

Hello, I’m trying to send a mail with a longer content, which should come from different items. How can I do this, that it looks like this more or less:

---

## [Things from Mail Binding](https://community.openhab.org/t/things-from-mail-binding/157869)

<div class="topic-metadata">

**Author:** [@Patrice](https://community.openhab.org/u/Patrice)\
**Replies:** 2\
**Last updated:** [August 18, 2024, 6:14pm UTC](https://community.openhab.org/t/things-from-mail-binding/157869 "2024-08-18T18:14:27Z")

</div>

Hi all, I just installed openHAB 4.2.1 on a Debian GNU/Linux 12 (bookworm) and it look very fine. Linux 6.1.0-23-amd64 for the Debian, running on a VM inside à NAS. Everything goes fine till i install the “mail” bind…

---

## [Javascript 'val'? - Mail binding documentation](https://community.openhab.org/t/javascript-val-mail-binding-documentation/156928)

<div class="topic-metadata">

**Author:** [@ErikDB](https://community.openhab.org/u/ErikDB)\
**Replies:** 11\
**Last updated:** [July 3, 2024, 2:12pm UTC](https://community.openhab.org/t/javascript-val-mail-binding-documentation/156928 "2024-07-03T14:12:38Z")

</div>

In the documentation of the Mail Binding (Mail - Bindings | openHAB), near the bottom I see this as an example of a Javascript rule: val mailActions = actions.get("mail","mail:smtp:samplesmtp") val success = mailActions…

---

## [OH3: IMAP STARTTLS failure](https://community.openhab.org/t/oh3-imap-starttls-failure/145267)

<div class="topic-metadata">

**Author:** [@pavkamlc](https://community.openhab.org/u/pavkamlc)\
**Replies:** 1\
**Last updated:** [March 15, 2023, 4:52pm UTC](https://community.openhab.org/t/oh3-imap-starttls-failure/145267 "2023-03-15T16:52:21Z")

</div>

I tried monitor INBOX on my own imap server (zimbra), but It doesn’t work. Connection by mail client working without issue, but when I connect with imap binding: UID: mail:imap:97a967c128 label: IMAP Server thingTypeUID…

---

## [How to set tls to 1.2 in mail binding config?](https://community.openhab.org/t/how-to-set-tls-to-1-2-in-mail-binding-config/144433)

<div class="topic-metadata">

**Author:** [@HomeAutomation](https://community.openhab.org/u/HomeAutomation)\
**Replies:** 3\
**Last updated:** [February 16, 2023, 5:00pm UTC](https://community.openhab.org/t/how-to-set-tls-to-1-2-in-mail-binding-config/144433 "2023-02-16T17:00:45Z")

</div>

My E-Mail provider will change the config and allows SMTP connection only with TLS 1.2 and higher in the future. They informed my, that OH uses an older one. How to set TLS level in things config in OH 2.5.12? my thing…

---

## [sendMailWithAttachment is not a member of org.openhab.core.thing.binding.ThingActions](https://community.openhab.org/t/sendmailwithattachment-is-not-a-member-of-org-openhab-core-thing-binding-thingactions/142867)

<div class="topic-metadata">

**Author:** [@ajbastien](https://community.openhab.org/u/ajbastien)\
**Replies:** 7\
**Last updated:** [February 4, 2023, 8:55am UTC](https://community.openhab.org/t/sendmailwithattachment-is-not-a-member-of-org-openhab-core-thing-binding-thingactions/142867 "2023-02-04T08:55:14Z")

</div>

I can use the sendMail action but the sendMailWithAttachment does not work, neither do other attachment actions. The all report the same thing in the logs: 2023-01-02 21:40:44.092 \[ERROR\] \[internal.handler.ScriptActio…

---

## [Control Openhab with messages](https://community.openhab.org/t/control-openhab-with-messages/141815)

<div class="topic-metadata">

**Author:** [@orzechszek](https://community.openhab.org/u/orzechszek)\
**Replies:** 6\
**Last updated:** [December 8, 2022, 11:14pm UTC](https://community.openhab.org/t/control-openhab-with-messages/141815 "2022-12-08T23:14:06Z")

</div>

Hello, Does anyone know any methods to send command to openhab via messages? (mail,facebook etc.) I just found something with telegram: Control OpenHAB2 with Telegram and simple python script - #28 by Belgadon Informa…

---

## [Mail binding errors sending mail UnsupportedDataTypeException: text/plaijn; charset=UTF=8](https://community.openhab.org/t/mail-binding-errors-sending-mail-unsupporteddatatypeexception-text-plaijn-charset-utf-8/130365)

<div class="topic-metadata">

**Author:** [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Replies:** 41\
**Last updated:** [July 31, 2022, 4:55pm UTC](https://community.openhab.org/t/mail-binding-errors-sending-mail-unsupporteddatatypeexception-text-plaijn-charset-utf-8/130365 "2022-07-31T16:55:33Z")

</div>

This is on the latest 3.2 released (the first 3.3 snapshot actually but close enough). I’ve migrated my rules to JSScripting and I think based on what I’ve seen this is only a problem in JSScripting. When I attempt to …

---

## [Mails with backup report (amanda) stopped working](https://community.openhab.org/t/mails-with-backup-report-amanda-stopped-working/136557)

<div class="topic-metadata">

**Author:** [@narf27](https://community.openhab.org/u/narf27)\
**Replies:** 2\
**Last updated:** [June 10, 2022, 6:51pm UTC](https://community.openhab.org/t/mails-with-backup-report-amanda-stopped-working/136557 "2022-06-10T18:51:11Z")

</div>

Hello! i’ve setup up amanda backup on openhabian install and i got the backup information every day via email. this stopped some day ago and i don’t really know why. amanda backup still runs every day/night but the mai…

---

## [Error when trying to send email](https://community.openhab.org/t/error-when-trying-to-send-email/134776)

<div class="topic-metadata">

**Author:** [@Matt\_Hias](https://community.openhab.org/u/Matt_Hias)\
**Replies:** 3\
**Last updated:** [April 25, 2022, 9:05am UTC](https://community.openhab.org/t/error-when-trying-to-send-email/134776 "2022-04-25T09:05:13Z")

</div>

Hi everyone, I don’t get the problem here. I’m trying to send mails via script but receive an error message which is described below: This is the THING which I created: Have this dsl script is created as part of ru…

---

## [How to send a mail from a rule to a IMAP mail account?](https://community.openhab.org/t/how-to-send-a-mail-from-a-rule-to-a-imap-mail-account/134392)

<div class="topic-metadata">

**Author:** [@Pirx](https://community.openhab.org/u/Pirx)\
**Replies:** 3\
**Last updated:** [March 20, 2022, 7:15pm UTC](https://community.openhab.org/t/how-to-send-a-mail-from-a-rule-to-a-imap-mail-account/134392 "2022-03-20T19:15:10Z")

</div>

All examples I have seen so far are based on SMTP accounts. The documentation of the mail binding explains quite well how to use the method sendMail for SMTP, but when I switch the Thing to IMAP type I get the error: “‘s…

---

## [Mail will not more be send](https://community.openhab.org/t/mail-will-not-more-be-send/134230)

<div class="topic-metadata">

**Author:** [@scheuerer](https://community.openhab.org/u/scheuerer)\
**Replies:** 5\
**Last updated:** [March 15, 2022, 3:32pm UTC](https://community.openhab.org/t/mail-will-not-more-be-send/134230 "2022-03-15T15:32:48Z")

</div>

Hello all, I’m running two different OH3.2 system, with the latest upgrade, which have now the same error. Mail which should send out triggered by a rule will not more send to SMTP.WEB.DE mail server. The error which …

---

## [Send command when mail is received](https://community.openhab.org/t/send-command-when-mail-is-received/133888)

<div class="topic-metadata">

**Author:** [@Christopher](https://community.openhab.org/u/Christopher)\
**Replies:** 6\
**Last updated:** [March 7, 2022, 7:38am UTC](https://community.openhab.org/t/send-command-when-mail-is-received/133888 "2022-03-07T07:38:02Z")

</div>

Hey there, i couldn’t find anything similar by searching and only found lots of information about how to send a mail via OH. I have an IP-Camera that has Motion-Detection. On detection it sends a Mail to a dedicated Gm…

---

## [\[OH3.3.0.M1/Windows\] Java / SSL certificate issue](https://community.openhab.org/t/oh3-3-0-m1-windows-java-ssl-certificate-issue/133397)

<div class="topic-metadata">

**Author:** [@wosch87](https://community.openhab.org/u/wosch87)\
**Replies:** 2\
**Last updated:** [February 18, 2022, 7:37am UTC](https://community.openhab.org/t/oh3-3-0-m1-windows-java-ssl-certificate-issue/133397 "2022-02-18T07:37:45Z")

</div>

Platform information: OS: Windows 10 Java Runtime Environment: Zulu11 (11.50.19 JDK 11.0.12) openHAB version:3.3.0.M1 Milestone Dear all, I am facing the issue that mailActions (sendmail) is not working. In TRACE l…

---

## [Openhab3 MAIL Rules actions not same as Openhab2](https://community.openhab.org/t/openhab3-mail-rules-actions-not-same-as-openhab2/129377)

<div class="topic-metadata">

**Author:** [@eminf](https://community.openhab.org/u/eminf)\
**Replies:** 5\
**Last updated:** [November 29, 2021, 1:57pm UTC](https://community.openhab.org/t/openhab3-mail-rules-actions-not-same-as-openhab2/129377 "2021-11-29T13:57:42Z")

</div>

Hello all! I am trying to recreate the same rules I had at Openhab2 rule engine on Openhab3. I want to send a mail whenever a door sensor changes to OPEN. The rules I am describing work fine on OH2. I cannot find the ac…

---

## [Cannot send mails via gmail server anymore (OH 2.x)](https://community.openhab.org/t/cannot-send-mails-via-gmail-server-anymore-oh-2-x/124510)

<div class="topic-metadata">

**Author:** [@Torsten555](https://community.openhab.org/u/Torsten555)\
**Replies:** 7\
**Last updated:** [July 14, 2021, 9:13pm UTC](https://community.openhab.org/t/cannot-send-mails-via-gmail-server-anymore-oh-2-x/124510 "2021-07-14T21:13:54Z")

</div>

Hi, I have a rule that sends mails using OH 2.x using mail actions. This is done via smtp and google mail and used to work fine in the past. Recently, this has stopped working. Mails are not sent anymore and everytime …

---

## [Mail Binding errors, but it used to work](https://community.openhab.org/t/mail-binding-errors-but-it-used-to-work/104461)

<div class="topic-metadata">

**Author:** [@dotat](https://community.openhab.org/u/dotat)\
**Replies:** 42\
**Last updated:** [June 20, 2021, 5:09pm UTC](https://community.openhab.org/t/mail-binding-errors-but-it-used-to-work/104461 "2021-06-20T17:09:55Z")

</div>

I’m not exactly sure when this stopped working, but I’ve been updating OH every now & then and I’m on 2.5.8 currently. When I try to fire off an email through a rule, I see the following error in my openhab log 2020-09…

---

## [Problem with repositories - can't download actions etc](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786)

<div class="topic-metadata">

**Author:** [@rt342](https://community.openhab.org/u/rt342)\
**Replies:** 10\
**Last updated:** [May 4, 2021, 8:27am UTC](https://community.openhab.org/t/problem-with-repositories-cant-download-actions-etc/121786 "2021-05-04T08:27:27Z")

</div>

Platform information: Hardware: CPUArchitecture/RAM/storage i5/8Gb/200gb OS: \_what OS is used and which version\_Linux Mint 19.1 Java Runtime Environment: which java platform is used and what version java version gives…

---

## [OH3 Rule error for email](https://community.openhab.org/t/oh3-rule-error-for-email/117965)

<div class="topic-metadata">

**Author:** [@BigCol](https://community.openhab.org/u/BigCol)\
**Replies:** 23\
**Last updated:** [March 4, 2021, 3:24pm UTC](https://community.openhab.org/t/oh3-rule-error-for-email/117965 "2021-03-04T15:24:43Z")

</div>

Guys i just can’t figure out this mail problem at all. Thought i was close with this post, but no luck :frowning: Error 2021-02-26 21:55:41.133 \[INFO \] \[el.core.internal.ModelRepositoryImpl\] - Validation issues found …

---

## [Mail Binding Error: Unable to find valid certification path to requested target](https://community.openhab.org/t/mail-binding-error-unable-to-find-valid-certification-path-to-requested-target/114924)

<div class="topic-metadata">

**Author:** [@nikhil1983](https://community.openhab.org/u/nikhil1983)\
**Replies:** 0\
**Last updated:** [January 21, 2021, 11:26am UTC](https://community.openhab.org/t/mail-binding-error-unable-to-find-valid-certification-path-to-requested-target/114924 "2021-01-21T11:26:16Z")

</div>

Hello, i am using openhab 2.5 version and currently facing issues with mail setup. I have disabled my firewall, also allowed third party access to my google account. Also have removed 2factor auth and checked still get…

---

## [Unstable OH and errors in logging](https://community.openhab.org/t/unstable-oh-and-errors-in-logging/106785)

<div class="topic-metadata">

**Author:** [@Jaco](https://community.openhab.org/u/Jaco)\
**Replies:** 3\
**Last updated:** [October 20, 2020, 4:02pm UTC](https://community.openhab.org/t/unstable-oh-and-errors-in-logging/106785 "2020-10-20T16:02:01Z")

</div>

Hello all, A few months ago I’d try to install the ‘mail binding’ om my RPi. I didn’t succeed in that so I removed it. (I’m configuring everything using txt-files, so I just removed it out of the ‘addons.cfg’-life) Si…

---

## [Problem refreshing IMAP/POP3](https://community.openhab.org/t/problem-refreshing-imap-pop3/95637)

<div class="topic-metadata">

**Author:** [@CHTHSCH](https://community.openhab.org/u/CHTHSCH)\
**Replies:** 9\
**Last updated:** [June 10, 2020, 3:37pm UTC](https://community.openhab.org/t/problem-refreshing-imap-pop3/95637 "2020-06-10T15:37:20Z")

</div>

I am using openHAB 2.5.3-1 (openHABian) on a Raspberry Pi After installing the Mail binding and configuring an IMAP or POP3 thing and the corresponding channels, I get this warning. 2020-03-31 19:07:35.066 \[INFO \] \[ind…

---

## [New mail binding not appearing in PaperUI](https://community.openhab.org/t/new-mail-binding-not-appearing-in-paperui/98959)

<div class="topic-metadata">

**Author:** [@RealBrianWarner](https://community.openhab.org/u/RealBrianWarner)\
**Replies:** 4\
**Last updated:** [May 18, 2020, 6:07pm UTC](https://community.openhab.org/t/new-mail-binding-not-appearing-in-paperui/98959 "2020-05-18T18:07:07Z")

</div>

I installed stable on a new Debian system last night using openhabian. It’s 2.5.4, and I did not choose to enable 1.x bindings. For some reason the new Mail binding does not appear in the list of addons in PaperUI. Has …

---

## [Connection dropped by Server Mail Binding](https://community.openhab.org/t/connection-dropped-by-server-mail-binding/94093)

<div class="topic-metadata">

**Author:** [@anon56373025](https://community.openhab.org/u/anon56373025)\
**Replies:** 9\
**Last updated:** [April 1, 2020, 11:59am UTC](https://community.openhab.org/t/connection-dropped-by-server-mail-binding/94093 "2020-04-01T11:59:27Z")

</div>

Hello I have set up the Mail Binding like in the the docs described. I have now struggle with the error \`2020-03-05 16:00:13.971 \[INFO \] \[inding.mail.internal.POP3IMAPHandler\] - error when trying to refresh IMAP: Conne…

---

## [\[SOLVED\] Mail binding - error sending email](https://community.openhab.org/t/solved-mail-binding-error-sending-email/93367)

<div class="topic-metadata">

**Author:** [@cgeo](https://community.openhab.org/u/cgeo)\
**Replies:** 0\
**Last updated:** [February 22, 2020, 10:30pm UTC](https://community.openhab.org/t/solved-mail-binding-error-sending-email/93367 "2020-02-22T22:30:51Z")

</div>

Hello, After upgrading to 2.5,1 stable, I am trying to use the new Mail binding. I do not have the old Mail action installed. The Mail thing is green. When I try to send an email using the sample from the official e…

---

## [\[SOLVED\] Mail binding issue - again](https://community.openhab.org/t/solved-mail-binding-issue-again/90791)

<div class="topic-metadata">

**Author:** [@jswim788](https://community.openhab.org/u/jswim788)\
**Replies:** 3\
**Last updated:** [January 19, 2020, 12:19am UTC](https://community.openhab.org/t/solved-mail-binding-issue-again/90791 "2020-01-19T00:19:59Z")

</div>

I’m stuck again with this error with the new mail binding: 'sendMail' is not a member of 'org.eclipse.smarthome.core.thing.binding.ThingActions'; line 73, column 25, length 87 Previously I had this error due to also ha…

---

## [Mail Action 2.5 fails with exception](https://community.openhab.org/t/mail-action-2-5-fails-with-exception/89845)

<div class="topic-metadata">

**Author:** [@andyh](https://community.openhab.org/u/andyh)\
**Replies:** 17\
**Last updated:** [January 9, 2020, 7:41pm UTC](https://community.openhab.org/t/mail-action-2-5-fails-with-exception/89845 "2020-01-09T19:41:20Z")

</div>

I’m trying to get mail action to to work in a rule. I get the following error: \[WARN \] \[ab.binding.mail.internal.SMTPHandler\] - Trying to send mail but exception occured: Sending the email to the following server failed…

---

## [Need help to build rule for sending mail at certain times](https://community.openhab.org/t/need-help-to-build-rule-for-sending-mail-at-certain-times/88957)

<div class="topic-metadata">

**Author:** [@kamikaze2508](https://community.openhab.org/u/kamikaze2508)\
**Replies:** 0\
**Last updated:** [December 30, 2019, 3:35pm UTC](https://community.openhab.org/t/need-help-to-build-rule-for-sending-mail-at-certain-times/88957 "2019-12-30T15:35:51Z")

</div>

Hello everybody, I have several electricity meters that I can query via knx. For example, my main meter supplies two values (electricity supply and electricity purchase), each of which supplies the values to openhab (2.…

---

## [\[SOLVED\] Trouble configuring SMTP in mail binding](https://community.openhab.org/t/solved-trouble-configuring-smtp-in-mail-binding/87822)

<div class="topic-metadata">

**Author:** [@ardmore](https://community.openhab.org/u/ardmore)\
**Replies:** 7\
**Last updated:** [December 20, 2019, 8:27am UTC](https://community.openhab.org/t/solved-trouble-configuring-smtp-in-mail-binding/87822 "2019-12-20T08:27:36Z")

</div>

I have just upgraded from 2.4 to 2.5 on my very fresh OpenHAB installation, as I’m a newbie with respect to OpenHAB. I am trying to configure an SMTP server in the mail binding. If I try this via PaperUI, the security pr…

[Next page](https://community.openhab.org/tag/mail/199.md?match_all_tags=true&page=1&tags%5B%5D=mail)
