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,082 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

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Join & Write a Comment

This process describes the steps required to Import and Export data from and to .pst files using Exchange 2010. We can use these steps to export data from a user to a .pst file, import data back to the same or a different user, or even import data t…
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This video discusses moving either the default database or any database to a new volume.

744 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

13 Experts available now in Live!

Get 1:1 Help Now