# SMTP server name in email does not exist

**URL:** <https://forum.inductiveautomation.com/t/smtp-server-name-in-email-does-not-exist/18199>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [May 29, 2018, 5:33pm UTC](https://forum.inductiveautomation.com/t/smtp-server-name-in-email-does-not-exist/18199 "2018-05-29T17:33:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![harryzhou4498](https://avatars.discourse-cdn.com/v4/letter/h/71c47a/32.png) [@harryzhou4498](https://forum.inductiveautomation.com/u/harryzhou4498)\
**Post date:** [May 29, 2018, 5:33pm UTC](https://forum.inductiveautomation.com/t/smtp-server-name-in-email-does-not-exist/18199/1 "2018-05-29T17:33:05Z")

</div>

I am wondering why I’m getting this warning in my logs. I do not receive an actual error in the ignition program itself. I am also not receiving an email. I’ve tried switching “Mail” and “[smtp.mail.com](http://smtp.mail.com)” in the script itself to see if that would do anything

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 29, 2018, 6:02pm UTC](https://forum.inductiveautomation.com/t/smtp-server-name-in-email-does-not-exist/18199/2 "2018-05-29T18:02:30Z")

</div>

Per the [user manual](https://docs.inductiveautomation.com/display/DOC79/system.report.executeAndDistribute), the key you need in actionSettings is “smtpServerName”.
