Solved

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

Posted on 2011-02-12
4
2,297 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 500 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 500 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

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

Suggested Solutions

Title # Comments Views Activity
Exchange Server not available 42 70
exchange 16 50
gmails for offline viewing 6 40
2012R2 Foundation license compliance 3 41
This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

752 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