Sending an email from the admin on behalf of a sender in Dynamics 365 Business Central using Microsoft Flow

April 2 2019

From time to time, it can be useful to send out an email from a department within your business. Examples could include an "email blast" from the general sales or marketing email address. But often, especially at small firms without a large amount of staff—or even at bigger organizations strapped for time and resources—a general admin email may need to send out an email that to a receiving party seems like it is from a different department. Within the Dynamics 365 Business Central environment, the sender email is always the user in the SMTP setup. In this article, I'll demonstrate the process of sending an email from a department address rather than an admin email.

Pre-requisites

  1. Azure DevOps (formerly Team Foundation Server)
  2. Office 365
  3. Dynamics 365 Business Central.
  4. Microsoft Flow

Demonstration

1. First, begin by setting up Flow and create an HTTP request:

creating_a_flow_http_request

2. Add JSON on apply to each.

add_json_on_apply_to_each3. Setup a sample payload.

set_sample_json_payload4. Add the send an email action.

add_send_an_email_action5. Save the Flow and copy the trigger URL in postman. If the JSON code passes, check if your email is ready to send.

About Olister Rumao

Olister Rumao is a Software Engineer with CloudFronts Technologies. Being an innovative mind, Olister has shown his capability to master the Microsoft Dynamics ERP systems. His constant research and extraordinary coding ability has led him to successfully deliver on US based client projects related to ERP implementations. He has transformed himself to adapt to the new system from Microsoft Dynamics NAV to Business Central and gained immense expertise. 

CloudFronts is a Microsoft Certified Gold Partner which offers complete Dynamics 365 (Customer Engagement, Finance and Operations, Business Central) implementations, Power BI Analytics, Office 365 and Azure Infrastructure services. The team has deep expertise in delivering and supporting the customers through all aspects of their implementation from strategic technology consulting and road-map, requirements assessments, project implementation, training, migration to post go live managed services and support. The company has vast experience in digitally transforming corporates in sectors such as banking & financial services, professional services, pharmaceutical, manufacturing, F&B, retail, agro-tech, non-profit and several others. CloudFronts commenced its operations in the year 2012 to empower organizations around the world, do more with technology.

Check out our customer success stories here: https://www.cloudfronts.com/customer-success/ and follow us on linkedin now: https://in.linkedin.com/company/cloudfronts

Linkedin of Olister Rumao: https://in.linkedin.com/in/olister-rumao-1156a173

More about Olister Rumao