Solved

Sharepoint Web Part 550 5.7.1 Client does not have permissions to send as this sender

Posted on 2014-01-17
5
1,107 Views
Last Modified: 2014-02-17
We (actually our DBA) are setting up a sharepoint server. One of the web parts she is trying to use is trying to send an email but gets the error above.

When i ran a wireshark capture on the sharepoint server, i see that the web part is using auth ntlm. I don't think it should need to since its not sending externally, only internally. Also, I'm not sure who it's authenticating as.

i found online to run this command: Add-AdPermission -Identity "Default Receive Connector" -User "NT AUTHORITY\Authenticated Users" -ExtendedRights ms-Exch-SMTP-Accept-Any-Sender

However, if i do that I'm not sure what consequences it will have. does this open up a security hole?
0
Comment
Question by:msidnam
  • 3
  • 2
5 Comments
 
LVL 44

Expert Comment

by:Rainer Jeschor
ID: 39789867
Hi,
what web part is this? Which SharePoint version and edition?
SharePoint has built-in possibilities to send emails using the configured email server.
The SharePoint web app normally executes with the current logged on user therefore the built-in tools are sending through the app pool user and NOT the logged in user. It seems that the web part is doing it the "wrong" way.
I am no Exchange Pro but the above does really NOT look nice - to enable all authenticated user to send emails from any machine. I personally would not configure exchange this way.
HTH
Rainer
0
 
LVL 2

Author Comment

by:msidnam
ID: 39789896
I will need to check with my DBA, but it's from http://artfulbits.com/. I'm not sure exactly which product.

We have foundation 2013. the web part is to allow users to purchase items from the company store. when they add something to the cart and checkout, the web part emails them.

I agree, i do not think they are doing it correctly. We've reached out to them to see if they can possibly remove the auth ntlm from the web part and just connect to the email server, do the MAIL FROM, RCPT TO, DATA, SUBJECT and then email body.
0
 
LVL 44

Accepted Solution

by:
Rainer Jeschor earned 500 total points
ID: 39790000
Hi,
I just analyzed their code - it looks OK - they try to send the email using the SharePoint provided context.
Therefore another question:
do you already verified that emails are sent from SharePoint in general?
There are two different "locations/tools" sending emails:
- the web app itself (e.g. when registering for an alert)
- the Windows SharePoint Timer Service (when sending alerts)

Again, as I am no Exchange pro, please double check with your Exchange admins the following configurations:

http://sharepoint-for-real.blogspot.de/2013/07/sharepoint-2013-incoming-and-outgoing-e.html
and
http://sharepointgeorge.com/2010/configuring-outgoing-email-sharepoint-2010/

HTH
Rainer
0
 
LVL 2

Author Comment

by:msidnam
ID: 39790076
I can verify that we can send emails from sharepoint itself. It seems to be something with this shopping cart web part. I am no sure about the Windows Sharepoint Timer Service.

I'm also the exchange admin so i'll take a look at the links as well.

Thank you.
0
 
LVL 2

Author Closing Comment

by:msidnam
ID: 39865412
We found out that we needed to change the SMTP service settings inside the sharepoint server.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
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 the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now