# Error Sending Email In 7.4

**URL:** <https://forum.inductiveautomation.com/t/error-sending-email-in-7-4/4237>\
**Category:** Ignition\
**Created:** [April 3, 2012, 7:32am UTC](https://forum.inductiveautomation.com/t/error-sending-email-in-7-4/4237 "2012-04-03T07:32:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aidamcg](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@aidamcg](https://forum.inductiveautomation.com/u/aidamcg)\
**Post date:** [April 3, 2012, 7:32am UTC](https://forum.inductiveautomation.com/t/error-sending-email-in-7-4/4237/1 "2012-04-03T07:32:59Z")

</div>

Hi

I was able to send an Email in 7.3.3 but since upgrading to 7.4 I get the error “mismatched input ‘from’ expecting RPAREN” when I try to send it. I was able to replicate the same error with the sample send email code from the manual. Attached is a screen shot of the error

Thanks

Aidan

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/0a4e148091b6d707ad14bb4869313dff7deda36e.png)

---

<div class="post-metadata">

**Author:** ![Travis.Cox](https://avatars.discourse-cdn.com/v4/letter/t/b9bd4f/32.png) [@Travis.Cox](https://forum.inductiveautomation.com/u/Travis.Cox)\
**Post date:** [April 3, 2012, 3:20pm UTC](https://forum.inductiveautomation.com/t/error-sending-email-in-7-4/4237/2 "2012-04-03T15:20:30Z")

</div>

I will have to figure out why that doesn’t work. In the meantime do this:`body = "<HTML><BODY><H1>This is a big header</H1>And this text is <font color='red'>red</font></BODY></HTML>"
recipients = ["bobsmith@mycompany.com", "1235558383@vtext.com", "sally@acme.org", "1235557272@vtext.com"]
myuser = "mycompany"
mypass = "1234"
system.net.sendEmail("mail.mycompany.com", "myemail@mycompany.com", "Here is the email!", body, 1, recipients, username=myuser, password=mypass)`

---

<div class="post-metadata">

**Author:** ![aidamcg](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@aidamcg](https://forum.inductiveautomation.com/u/aidamcg)\
**Post date:** [April 3, 2012, 4:31pm UTC](https://forum.inductiveautomation.com/t/error-sending-email-in-7-4/4237/3 "2012-04-03T16:31:27Z")

</div>

Hi Travis

Thanks for help. Working ok now

Aidan
