Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Sharepoint Foundation 2010 - Problems sending email thru Exchange 2007 from Sharepoint site

Posted on 2011-02-12
4
Medium Priority
?
2,312 Views
Last Modified: 2012-06-21
Here's my set up:

Sharepoint Foundation 2010
Exchange Server 2007
Windows Server 2008

A system-generated email is sent okay when creating a new Farm Administrator in Central Administration, but when creating a new Member on our Team Site, I get the following error:

The user or users have been added successfully, but there was an error in sending the e-mail message. The server may not be set up correctly to send e-mail. To verify that e-mail is configured correctly, contact your server administrator.

Here is what I've tried:

1. Creating a new Receive Connector as described at http://sharepointgeorge.com/2010/configuring-outgoing-email-sharepoint-2010/
2. Checked settings at Central Administration > Web Applications > General Settings > Outgoing Email: Have tried both the IP address for my Exchange/Sharepoint server (e.g. 10.1.10.11) and my regular mail.xxxx.com smtp address with the same results.
3. Checked settings at Central Administration > System Settings > Configure outgoing e-mail settings: Have tried both the IP address for my Exchange/Sharepoint server (e.g. 10.1.10.11) and my regular mail.xxxx.com smtp address with the same results.
4. Confirmed that I can connect to my Exchange server using telnet

As I said, email from the main admin page (Central Administration) seems to work fine, but it doesn't work when setting up users on my Team Site. Exchange server works fine for our corporate email--it just doesn't seem to work with the Sharepoint team site.

I've run across advice to check Exchange logs, but have no idea where to start.

Any ideas?

Thanks,
John


0
Comment
Question by:jscifers
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 3

Assisted Solution

by:mosslive
mosslive earned 2000 total points
ID: 34882562
Hi,

did you try to send an email using telnet?
If not, try to send an email using telnet (http://exchange.mvps.org/smtp_frames.htm) to one of the users causing the error message. This might give you a starting point.

Are your users all located within the same Exchange?
(Exchange will only be able to sen emails to users of its own organization, due to relaying restrictions)

Which users are configured on your AppPools (Central Admin AppPool and WebApp AppPool)?
(maybe the WebApp AppPool user cannot send mails)

/Daniel
0
 

Author Comment

by:jscifers
ID: 34882813
Thanks for the feedback!

Sending email to an external user using telnet produces an "Unable to Relay 5.7.1" error when I use the "rcpt to: <external address>" command with any external email address. Sending mail via telnet works fine when using an internal address (e.g. "name@mydomain.com").

Yes, all users are located in the same Exchange server.

Regarding App pools, I do have a Security warning ("Accounts used by application pools or service identities are in the local machine Administrators group."), but I'm not sure whether this is related. Browsing to http://mydomain:45400/_admin/FarmCredentialManagement.aspx, I have the following service accounts set up:

Farm Account: sadmin
Windows Service - Claims to Windows Token Service: Local System
Windows Service - MS SharePoint Foundation Sandboxed Code Service: sadmin
Windows Service - SharePoint Foundation Search: jscifers
[All] Web Application Pools (41782, 80, site1, site 2): jscifers
Service Application Pool - SecurityTokenServiceApplicationPool: sadmin
Service Application Pool - SharePoint Web Services Default: sadmin
Service Application Pool - SharePoint Web Services System: sadmin

jscifers is my account and has Admin priviledges. sadmin was an admin account i set up for Sharepoint.

Any thoughts?
0
 
LVL 3

Accepted Solution

by:
mosslive earned 2000 total points
ID: 34882865
Hi,

regarding the relay you should check this blog post by the exchange team:
http://msexchangeteam.com/archive/2006/12/28/432013.aspx

SharePoint needs relay permissions to send mails to users outside your organization.

Despite the fact that ou shouldn't use your user accountas service account ;-) the configuration seems ok (assuming you were able to do the telnet check with that user as well).

Do you get th error message even when adding an internal user?

/Daniel
0
 

Author Comment

by:jscifers
ID: 34882941
Ah, fixing the relay issue solved the problem!

After running the following command, the problem went away:

Get-ReceiveConnector "CRM Application" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"

THANKS!

John
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

How to deal with a specific error when using the Enable-RemoteMailbox cmdlet to create a mailbox in the cloud-based service, for an existing user in an on-premises Active Directory.
I don't pretend to be an expert at this, but I have found a few things that are useful. I hope that sharing them here will help others, so they will not have to face some rather hard choices. Since I felt this to be a topic of enough importance and…
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

719 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