?
Solved

SMTP and IIS 7.5 on server 2008

Posted on 2011-09-21
8
Medium Priority
?
930 Views
Last Modified: 2012-05-12
I just moved a site from an old 2003 server with IIS6 to a server 2008 with IIS 7.5 now none of my contact forms work. I get an Internal Error 500 whenever I click the submit button. I Installed SMTP on the server but that's about as far as I gotten with no real solution. The site uses some asp pages to do the mail send. I just need these emails to get out of my server and sent to the p[roper inbox. This is very hot as it is costing us tons in ad words
0
Comment
Question by:padillrr
  • 5
  • 3
8 Comments
 
LVL 25

Expert Comment

by:DBAduck - Ben Miller
ID: 36577855
You have to make sure that the app pool account has read write to the directory c:\inetpub\mailroot\Pickup.
0
 

Author Comment

by:padillrr
ID: 36577941
Sorry not really sure how to add an app pool to the security of a directory is it down at the folder level or at the IIS level?
0
 
LVL 25

Accepted Solution

by:
DBAduck - Ben Miller earned 2000 total points
ID: 36577992
Well, inside IIS you have a website, and if you click on Basic Settings of the website it will tell you which App Pool it is using.
Then go into Application Pools and find that app pool and it will show you which Identity it is using.

If it is using Application Pool Identity, then you can go here and see how to get it to be added to the security of the directory.
If it is using a User Account, or Network Service, etc. then you can open Explorer and navigate to the \inetpub\mailroot and right click on the Pickup directory and choose Properties, then Security and add that user to the permissions and give it modify permissions to the Pickup Folder.

You can read about it here: http://serverfault.com/questions/81165/how-to-assign-permissions-to-applicationpoolidentity-account

Example Command: (substitute your app pool name)
icacls c:\inetpub\mailroot\Pickup /grant "IIS APPPOOL\DefaultAppPool":(OI)(CI)(RX)(M)
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:padillrr
ID: 36578069
OK I followed all the instructions per ur posting, The error is no longer appearing when I go to our contact form and press submit but there are no emails being delivered to the inbox. I sent a test message from the contact us form and nothing showed up.....
0
 

Author Comment

by:padillrr
ID: 36578071
From my point of view you've earned the points, cause the error is gone but I still need to get those emails.
0
 
LVL 25

Expert Comment

by:DBAduck - Ben Miller
ID: 36578110
Is anything in the queue folder of c:\inetpub\mailroot?  Is anything still in the pickup folder?

Is the SMTP service started and have you set the properties in the site for SMTP?  If you do into the Site in IIS manager and look at the features.  You should see SMTP and you should double click and set the properties of that service.

Then try again.
0
 

Author Closing Comment

by:padillrr
ID: 36578124
Great Job Thanks!
0
 

Author Comment

by:padillrr
ID: 36578127
I had an external IP instead of our internal IP once I changed that the mail flowed.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Resolving an irritating Remote Desktop connection that stops your saved credentials from being used.
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question