# Problems with Send Email action and IIS smtp server

**URL:** https://www.finalbuilder.com/forums/t/problems-with-send-email-action-and-iis-smtp-server/130
**Category:** Discussion
**Created:** [July 12, 2006, 9:24am UTC](https://www.finalbuilder.com/forums/t/problems-with-send-email-action-and-iis-smtp-server/130 "2006-07-12T09:24:52Z")
**Posts on this page:** 5
**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: [July 12, 2006, 9:24am UTC](https://www.finalbuilder.com/forums/t/problems-with-send-email-action-and-iis-smtp-server/130/1 "2006-07-12T09:24:52Z")

</div>

Hi,  
  
I’m trying to get FinalBuilder to send an email to a valid email address using IIS’ smtp server but I’m getting a socket error (11001) which leads me to believe that it’s unable to connect to the smtp server.  
  
I’ve read online for a bit and my smtp server seems to be configured properly but then again I can’t seem to connect to it.  
  
I know this isn’t most likely an issue with FinalBuilder but any help would be appreciated.  
  
Here’s a screenshot of the action in FinalBuilder

 ![sendemail.JPG](https://www.finalbuilder.com/forums/uploads/default/original/1X/4d50f144bda238610423a3c4137d2836d1b8e417.jpeg)

---

<div class="post-metadata">

### Author: ![tmchardy](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/dbc845/32.png) [@tmchardy](https://www.finalbuilder.com/forums/u/tmchardy)
#### Post date: [July 12, 2006, 11:43am UTC](https://www.finalbuilder.com/forums/t/problems-with-send-email-action-and-iis-smtp-server/130/2 "2006-07-12T11:43:02Z")

</div>

Yeah, definately sounds like an IIS issue. If your machine is on a secure network, you could do what I did - Allow anonymous access and accept emails from any ip. This was the quick solution for me, but definately only an option if your machine isn’t accessible by unauthorized people.

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 13, 2006, 1:25am UTC](https://www.finalbuilder.com/forums/t/problems-with-send-email-action-and-iis-smtp-server/130/3 "2006-07-13T01:25:22Z")

</div>

Open a command prompt and try running:  
  
telnet localhost 25  
  
… that’ll tell you if IIS is accepting SMTP connections from your machine. If not, you’ll need to look into the allowed IP addresses list, as mentioned.  
  
(If you do get a connection and an SMTP prompt, use the QUIT command to close the connection.)

---

<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: [July 13, 2006, 3:34am UTC](https://www.finalbuilder.com/forums/t/problems-with-send-email-action-and-iis-smtp-server/130/4 "2006-07-13T03:34:16Z")

</div>

Solved - my problem is that Mcafee anti-virus software was blocking port 25 which is the default port for the smtp server on IIS. Changed the port to something else and all is good now.

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [July 14, 2006, 1:16am UTC](https://www.finalbuilder.com/forums/t/problems-with-send-email-action-and-iis-smtp-server/130/5 "2006-07-14T01:16:18Z")

</div>

Great to hear you got it working. :)
