# Disabling Javascript in Send Mail Action

**URL:** https://www.finalbuilder.com/forums/t/disabling-javascript-in-send-mail-action/212
**Category:** Discussion
**Created:** [October 3, 2006, 11:31am UTC](https://www.finalbuilder.com/forums/t/disabling-javascript-in-send-mail-action/212 "2006-10-03T11:31:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 3, 2006, 11:31am UTC](https://www.finalbuilder.com/forums/t/disabling-javascript-in-send-mail-action/212/1 "2006-10-03T11:31:08Z")

</div>

I use the Send Mail action to send myself and other interested parties an email when a build fails. However, our corporate mail filters block mail messages that have Javascript. Is there a way to turn off the Javascript that gets sent with the mail message using this action?  
TIA!

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [October 4, 2006, 12:31pm UTC](https://www.finalbuilder.com/forums/t/disabling-javascript-in-send-mail-action/212/2 "2006-10-04T12:31:01Z")

</div>

Hi Matt,  
  
No javascript should be sent by FinalBuilder in a mail message - the message is probably being stopped because of the javascript in the html log attachment. You could export the log in a different format (eg. the text format doesn’t have any javascript), or maybe zip up the log file, or what we do here is email a path to log file (eg. \buildserver\logs\2006-10-4.html) which also has the benefit of not cluttering up our inboxes with big files 🙂  
  
hth.  
.t8

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [October 4, 2006, 12:50pm UTC](https://www.finalbuilder.com/forums/t/disabling-javascript-in-send-mail-action/212/3 "2006-10-04T12:50:04Z")

</div>

Thanks for the quick reply. I had tried changing the format of the attachment to both txt and xml, and our mail filter barfed on both of those. However, I will try sending a link and see if that works.  
Thanks again!
