# Text Message Alarm via Email address

**URL:** <https://forum.inductiveautomation.com/t/text-message-alarm-via-email-address/50631>\
**Category:** Ignition\
**Created:** [September 5, 2021, 3:15pm UTC](https://forum.inductiveautomation.com/t/text-message-alarm-via-email-address/50631 "2021-09-05T15:15:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jshaffer09](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jshaffer09](https://forum.inductiveautomation.com/u/jshaffer09)\
**Post date:** [September 5, 2021, 3:15pm UTC](https://forum.inductiveautomation.com/t/text-message-alarm-via-email-address/50631/1 "2021-09-05T15:15:49Z")

</div>

Has any one setup a Alarm to send a text via a email address using @txt.att.net or @vtext.com? I have a test alarm setup along with a Alarm Notification Pipeline and a Text User Group. I can watch the Alarm Notification Pipeline become true in the gateway but I get a error message in the logs.

The error I get in the logs

```auto
javax.mail.SendFailedException: Invalid Addresses

at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1949)

at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1195)

at javax.mail.Transport.send0(Transport.java:254)

at javax.mail.Transport.send(Transport.java:124)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.sendMessage(EmailNotificationProfile.java:744)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.buildAndMaybeSendMessage(EmailNotificationProfile.java:732)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile$EmailTask.run(EmailNotificationProfile.java:646)

at com.inductiveautomation.ignition.alarming.notification.email.EmailNotificationProfile.lambda$sendNotification$0(EmailNotificationProfile.java:460)

at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)

at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.base/java.lang.Thread.run(Unknown Source)

Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550 5.7.54 SMTP; Unable to relay recipient in non-accepted domain

at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1802)

... 10 common frames omitted

```

---

<div class="post-metadata">

**Author:** ![witman](https://avatars.discourse-cdn.com/v4/letter/w/d2c977/32.png) [@witman](https://forum.inductiveautomation.com/u/witman)\
**Post date:** [September 5, 2021, 3:30pm UTC](https://forum.inductiveautomation.com/t/text-message-alarm-via-email-address/50631/2 "2021-09-05T15:30:29Z")

</div>

> [@jshaffer09](#):
>
> `Unable to relay recipient in non-accepted domain`

It looks like your SMTP server doesn't want to send to those domains. If Ignition is connecting to the SMTP server without a username and password, I believe SMTP servers commonly will send only to the local domain.

---

<div class="post-metadata">

**Author:** ![jshaffer09](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jshaffer09](https://forum.inductiveautomation.com/u/jshaffer09)\
**Post date:** [September 27, 2021, 7:29pm UTC](https://forum.inductiveautomation.com/t/text-message-alarm-via-email-address/50631/3 "2021-09-27T19:29:57Z")

</div>

I am working with IT to figure out a solution. Has anyone been able to make this work for them?

---

<div class="post-metadata">

**Author:** ![josborn](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@josborn](https://forum.inductiveautomation.com/u/josborn)\
**Post date:** [September 27, 2021, 10:52pm UTC](https://forum.inductiveautomation.com/t/text-message-alarm-via-email-address/50631/4 "2021-09-27T22:52:16Z")

</div>

My IT blocks sending SMTP mail to anything outside the domain, but if they allow your traffic it should work like any other recipient email address.

---

<div class="post-metadata">

**Author:** ![jshaffer09](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jshaffer09](https://forum.inductiveautomation.com/u/jshaffer09)\
**Post date:** [September 28, 2021, 11:52am UTC](https://forum.inductiveautomation.com/t/text-message-alarm-via-email-address/50631/5 "2021-09-28T11:52:54Z")

</div>

Had to get IT to Forward the email to text by the subject of the email

---

<div class="post-metadata">

**Author:** ![jshaffer09](https://avatars.discourse-cdn.com/v4/letter/j/df788c/32.png) [@jshaffer09](https://forum.inductiveautomation.com/u/jshaffer09)\
**Post date:** [September 28, 2021, 1:17pm UTC](https://forum.inductiveautomation.com/t/text-message-alarm-via-email-address/50631/6 "2021-09-28T13:17:40Z")

</div>

For some reason the text message gets sent out twice when the alarm is only active once
