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 of Services

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 Technical Architect with new and existing customers and as the Director of Services at Technology Advisors. 

Related Articles

March 16, 2020

Welcome to part two of our series on CRM selection. If you missed part one, we discussed sales features worth considering when searching for a CRM. You can read that post here. In part two, we’ll discuss the marketing features. I’ll begin by repeating my redundant (but important!) point about CRM selection: You should never choose a CRM based on features alone. Thoughtful strategic planning is essential for any successful CRM implementation. We’ll discuss strategic planning in another post, but if you’re unsure where to begin, reach out to a CRM consultant (like us!). A CRM consultant knows the questions to ask and the tasks to prioritize to help you select the best fitting CRM solution.

February 17, 2020

Sometimes small tweaks to how a field looks on a screen can make a big difference in usability and improve the quality of data captured. Adding field hints is one way to improve this usability in Creatio.