How to use Office 365 to send emails as a Sugar user

How to: Use Office 365 SMTP to Send Emails as a SugarCRM User

Our Microsoft Office Exchange server is hosted by Microsoft on their Office 365 Cloud and our SugarCRM instance is setup to send emails from notifications@techadv.com.

SugarCRM SMTP

If we want to allow our Sugar users to send emails from within Sugar without having to setup their own SMTP credentials individually, we must grant the notifications@techadv.com user access to send emails as each user.

If this is not setup properly, we receive an error like: SMTP -> ERROR: DATA END command failed. Reply: STOREDRV.Submission.Exception:SendAsDeniedException.MapiExceptionSendAsDenied; Failed to process message due to a permanent exception with message Cannot submit message.

To properly set it up, we must use Microsoft Edge and open the Office365 admin. Here are the steps taken to set up the Office 365 SMTP to send emails as if they were being sent by a SugarCRM user.

Step 1: Search for Exchange admin center

Microsoft 365 admin center

Step 2: Open mailboxes

Microsoft mailbox settings

Step 3: Select and edit the user the email will be sent as. In my case, we had to edit justin.kuehlthau@techadv.com.

Microsoft 365 recipients

Step 4: In the popup window, select mailbox delegation and add notifications to both Send As and Send on Behalf.

microsoft mailbox delegation

Justin Kuehlthau's picture
Justin Kuehlthau
Director, SugarCRM Practice

Justin is a Customer Relationship Management, CRM, software business analyst and consultant with ten years of experience in the industry. Justin started at Technology Advisors on the support desk where he learned extensively about all facets of CRM software. He was quickly promoted to the role of consultant where he learned the entire process of software consulting from pre-sales to post production support. He now works as the senior Sugar Technical Architect with new and existing customers and as the Director of the Sugar Practice at Technology Advisors.  Justin also co-hosts the Sugar Cubed CRM Talk podcast with Megan Sheehan.

Related Articles

August 27, 2019

Bpm'online has a quick and easy way to build a detail area (a.k.a. one-to-many relationship). You've probably already tried using the detail wizard and bpm'online auto-magically generated the functionality for you behind the scenes. So easy!

June 27, 2019

Did you know the subscription level of your Sugar Cloud instance dictates your data storage capacity? If you didn’t know, you probably haven’t hit your data limit; but you may be closer than you think! If you exceed capacity, you could be charged fees. No one likes fees.

So, let’s consider some key aspects of your Sugar storage: