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

February 4, 2019

Did you know that less than 40% of businesses have a CRM adoption rate above 90%? That means 60% of all businesses have poor CRM adoption. If this sounds like your current situation, the good news is you’re not alone. The bad news? No one is using the CRM your company invested thousands of dollars in.

January 21, 2019

Several of us at Technology Advisors found that a recent Outlook update was causing our Sugar sidebar to show in a separate window instead of within Outlook as it should.

To resolve this, we did the following: