Office 365 Smtp Relay for all users


We have migrated to Office 365 and all is going well.  But I cannot get our smtp server to send from everyone in the organisation.

In our organization we have a system that sends email using .asp pages and AspEmail which is Persits.MailSender.  We want to send out emails with the from address of the user and not the admin.

I used this document and all seemed ok. I used the "Method 1:Use a mail-enabled security group"
But it still does not work.
In my words this is what I did.
I set up a group called SendAs.  I added myself to it. I am admin. I added a user who needs to send as.  I used my account to authenticate the smtp server.
if I send email from me all ok, otherwise we get a failure with
"smtp;550 5.7.1 Client does not have permissions to send as this sender "

Please can someone help.

Thanks Terry
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Vasil Michev (MVP)Commented:
You need to set those permissions first (step 3 in Method 1). You can verify the permissions by opening the properties dialog for the account you will be using to send.

After this, the best way to test it is from OWA, or by selecting the name of the sender from the address book (DO NOT use the stored entry in Outlook's name cache).
terrybuck9Author Commented:
Sorry but can you explain your answers in more detail?  I am a novice in this area.
Vasil Michev (MVP)Commented:
Click on the mailbox you created in step 2 of the article, go to the mailbox delegation tab and under Send As, make sure to add the group you created earlier. If you have done so already, just verify that the group is indeed listed there.

Next, start composing new mail in Outlook. In the From field, do not type the address and do not select it from the autocomplete entry. Instead, press the From button, Other E-Mail Address -> pres the From... button -> find the mailbox and press OK.

Because the way permissions are stored in Exchange, if you use a previously saved entry, you will run into the above mentioned error of not being able to send, even when you have the correct permissions. This should not affect the client you are using for the mail relay though.
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

terrybuck9Author Commented:
Yes I have just successfully sent an email from the OWA logged in as the user, and changed the from address to my admin account.  Received ok.
terrybuck9Author Commented:
I seam to have fixed it but not sure which bit did it.  I had other issues with Autodiscover that I had to amend my old exchange and internal DNS.  I also noticed I have given user full access to user and not send as.  After all of this and a few more tidy ups it suddenly worked.

Thanks for your help.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
terrybuck9Author Commented:
I fixed it myself.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Office 365

From novice to tech pro — start learning today.