# Email on error not working

**URL:** <https://forums.toadworld.com/t/email-on-error-not-working/7272>\
**Category:** Toad Data Point & Toad Intelligence Central\
**Created:** [May 16, 2012, 1:07pm UTC](https://forums.toadworld.com/t/email-on-error-not-working/7272 "2012-05-16T13:07:51Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![ernest.hawes\_531](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/ernest.hawes_531/32/46_2.png) [@ernest.hawes\_531](https://forums.toadworld.com/u/ernest.hawes_531)\
**Post date:** [May 16, 2012, 1:07pm UTC](https://forums.toadworld.com/t/email-on-error-not-working/7272/1 "2012-05-16T13:07:51Z")

</div>

I purposely broke my SQL so TOAD would error so I could check the email on error function. I have tried it with multiple users as senders. I have tried multiple receivers. I have tried telneting and that seems to authenticate fine, although at first I had authentication turned off. It fails either authenticate or not, just different errors. I’ll attach both unauthenticated and authenticate verbose logs. Thanks for the help

Ernest

Authenticated -Equip-Purchasing.log (7.23 KB)

UNauthenticate-Equip-Purchasing.log (10.2 KB)

---

<div class="post-metadata">

**Author:** ![IgorM](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/igorm/32/116_2.png) [@IgorM](https://forums.toadworld.com/u/IgorM)\
**Post date:** [May 16, 2012, 8:31pm UTC](https://forums.toadworld.com/t/email-on-error-not-working/7272/2 "2012-05-16T20:31:15Z")

</div>

It’s interesting. Are you able to send an email using SendEmailActivity with the same SMTP server and authentication method?

Igor.

---

<div class="post-metadata">

**Author:** ![ernest.hawes\_531](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/ernest.hawes_531/32/46_2.png) [@ernest.hawes\_531](https://forums.toadworld.com/u/ernest.hawes_531)\
**Post date:** [May 22, 2012, 9:37am UTC](https://forums.toadworld.com/t/email-on-error-not-working/7272/3 "2012-05-22T09:37:35Z")

</div>

I guess I not sure what “SendEmailActivity” is. Is that a TOAD function because I can’t find it. and it wasn’t a choice in my smtp server…

---

<div class="post-metadata">

**Author:** ![IgorM](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/igorm/32/116_2.png) [@IgorM](https://forums.toadworld.com/u/IgorM)\
**Post date:** [May 23, 2012, 10:59am UTC](https://forums.toadworld.com/t/email-on-error-not-working/7272/4 "2012-05-23T10:59:25Z")

</div>

Sorry, I meant “Send Email” activity which can be found under File Activities section of the Automation designer toolbox.

The reason I’m asking to try it is because both Send Email activity and sending error email use the same mechanism for sending emails. Making sure that both working the same way or vice versa, working differently would kind of narrow our investigation.

Igor.

---

<div class="post-metadata">

**Author:** ![ernest.hawes\_531](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/ernest.hawes_531/32/46_2.png) [@ernest.hawes\_531](https://forums.toadworld.com/u/ernest.hawes_531)\
**Post date:** [May 31, 2012, 3:56pm UTC](https://forums.toadworld.com/t/email-on-error-not-working/7272/5 "2012-05-31T15:56:45Z")

</div>

no. its doesn’t work when I try to send email…I basically get the same errors…

---

<div class="post-metadata">

**Author:** ![Debbie\_Peabody](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/debbie_peabody/32/18_2.png) [@Debbie\_Peabody](https://forums.toadworld.com/u/Debbie_Peabody)\
**Post date:** [June 1, 2012, 4:25pm UTC](https://forums.toadworld.com/t/email-on-error-not-working/7272/6 "2012-06-01T16:25:52Z")

</div>

The unauthenicated email log is the correct way to set up SMTP email. You however, need to speak with your IT and get them to allow you to use SMTP.

Here is the error.

Error: The server rejected the specified sender email address. The server responded: 454 5.7.3 Client does not have permission to submit mail to this server…

Debbie

---

<div class="post-metadata">

**Author:** ![Debbie\_Peabody](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/debbie_peabody/32/18_2.png) [@Debbie\_Peabody](https://forums.toadworld.com/u/Debbie_Peabody)\
**Post date:** [June 1, 2012, 4:26pm UTC](https://forums.toadworld.com/t/email-on-error-not-working/7272/7 "2012-06-01T16:26:12Z")

</div>

The unauthenicated email log is the correct way to set up SMTP email. You however, need to speak with your IT and get them to allow you to use SMTP.

Here is the error.

Error: The server rejected the specified sender email address. The server responded: 454 5.7.3 Client does not have permission to submit mail to this server…

Debbie
