Skip to main content

Sending Email with OPSCOM

Sending email from OPSCOM is a key element of communicating with your clients.  This article offers information related to the setup of a mail sending domain on our preferred mail partner, Mailgun.

Simple SPF Security

Add the following to your SPF record (in DNS) to allow OPSCOM servers to send email on your domains behalf.

ip4:209.217.117.82/32  include:_spf.mailgun.org 

Please note that this is only first line generalized security. For more details click here: https://www.dmarcanalyzer.com/spf/

Communicating with Clients

One of the key features of your OperationsCommander installation is the ease of communicating with your clients.  This communication may be outgoing messages related to purchases, notifications and even as part of the appeals process.

WhyThese are important messages and you want them to get to your clients quickly, securely and without ending up in spam. This guide offers information on setting up your domain with our preferred mail partner, Mailgun

,

to ensure your messages are delivered effectively.  

We selected Mailgun as our preferred email partner due to the ease of use of their APIs and their long standing success in the email space.  That together with their tools to track and report on sent emails made them an ideal candidate for email management.

What

Why tois Expectthis Withoutso Mailgun

important?

WithinWhen you send emails from a properly configured domain, internet service providers (ISPs) can confirm that you are a legitimate sender. This process, which relies on DNS records like SPF and DKIM, ensures your emails are not marked as spam. Using your own domain also projects a professional image and builds trust with your clients, as the OPSCOM system configuration, reply-to email addresses can be recorded.  One such email might be parking@yourdomain.com such that any email receipts sentemails will appear to come from thisa emailtrusted address.source (e.g., parking@yourdomain.com).

DueWithout tothis thesetup, email beingemails sent from a non-yourdomain.com system, the emailsystem may be marked as spam or carry aan "on behalf of" headerheader, towhich letcan the client know that the email was not sent from a yourdomain.com system.

With a few simple DNS updates, it is possible to recognize the Mailgun server as a valid email sender for yourdomain.com

Usingmake your ownbrand APIappear offersless an even better level of service so that you can inspect emails sent by OPSCOM, and this is the recommended configurationcredible.

Why Do I See On Behalf Of in My Email

Visit https://help.mailgun.com/hc/en-us/articles/360012491394-Why-Do-I-See-On-Behalf-Of-in-My-Email- for more information

 

Setup Options for Your Organization

OPSCOM offers a few different ways to configure your email sending with Mailgun. The recommended method is to allow our team to manage this for you, which ensures the best support and easiest setup.

SubdomainRecommended: Configuring Your SubDomain on the OPSCOM accountMailgun Account

This method is the preferred method.option Weas it allows our support team to monitor email deliverability, track issues, and provide direct technical support for your email-sending needs. It simplifies the process for you while giving us the necessary access to ensure everything is working correctly. 

You will supplyneed your IT team to support you through this process.

Part 1: Your Role (Client)

  1. Provide your domain name: Inform the DNSOPSCOM updateteam details.of the Yourexact systemdomain adminor willsubdomain justyou needwant to adduse thefor detailsemail tosending DNS.

    (e.g.,

    OPSCOMmg.yourdomain.com). staffWe canhighly createrecommend using a subdomain onto ourprotect configurationthe reputation of your main domain.

  2. Receive DNS Records: Our team will add your domain to to allow clients to send email with proper DKIM signatures.

    We will create the subdomain and pass the DNS details to the appropriate system administrator.

    Your Own Mailgun Account

    This method allows clients to manage their own Mailgun account.

    You may create a new or use an existingour Mailgun account. PleaseWe sendwill then provide you with the associated API key to support@OPSCOM.com.

    API keys can be created and found in the Mailgun site under: Domain settings → Sending API Keys

    Note: To aid in technical support related to email, please invite support@OPSCOM.com as a Developer-level user.

    Integrating Mailgun to Your Installation

    Within the OPSCOM administrative interface, select System Configuration → Third Party

    Note: In the case of OPSCOM creating a subdomain, OPSCOM Support will update these details.

    image.png

    Using the General OPSCOM Mailgun Account

    This setup will enable OperationsCommander to send email on behalf of your domain.  It will remove the "on behalf of" notation that may be seen in emails that are not setup properly.

    Required DNS Records

    1. Please send a copy of your domain DKIM to OPSCOM support. please also include your domain 
    2. Add the followingspecific DNS records you must add to your DNSdomain's server.settings. These records will include:
    Type
    Hostname
    Value
    Notes
    TXT mg.<your domain> v=spf1 include:mailgun.org ~all This adds an SPF record for Mailgun
    TXT smtp._domainkey.<your domain> your DKIM key The DKIM key used with your domain

    SPFPart =2: SenderYour PolicyRole Framework(Client)

    DKIM

      =
    1. Log Domainin Keyto Identifiedyour Mail

      domain

      Optionalregistrar: Log in to the service where you manage your domain's DNS Records

      settings (e.g., GoDaddy, Namecheap, Cloudflare, etc.).
    2. Add the records from OPSCOM: Find the section for managing DNS records (it might be called "DNS Management" or "Zone File Editor"). You must create a new record for each of the entries we provided.
      • Record Type: Select the record type (e.g., TXT, MX, CNAME).
      • Hostname/Name: Paste the "Hostname" or "Name" value we provided.
      • Value/Data: Paste the "Value" or "Data" value we provided.
    3. Inform OPSCOM: Once you have added all the records, please notify our support team. We will verify the DNS records from our end. When they are correct, Mailgun will show a "verified" status.

    Note: Mailgun also recommends adding other records for email tracking, but these values even if only sending emails.

    In our experience they are not neededrequired for this specific setup with OPSCOM.

    Option 2: Using Your Own Mailgun Account

    This method is for clients who wish to have full control over their own Mailgun account. This can be beneficial if you have other systems that use Mailgun and you want to consolidate them.

    1. Create a Mailgun Account: Go to the Mailgun website and create a new account.
    2. Add and Verify Your Domain: Follow Mailgun's instructions to add your domain and verify it by updating your DNS records.
    3. Find the API Key: Once your domain is verified, find your Private API Key in the API Security section of your Mailgun dashboard.
    4. Send to Support: Send your Private API Key to support@OPSCOM.com.
    5. Enable Support Access (Recommended): To allow our team to provide technical support, we highly recommend inviting support@OPSCOM.com as theya areDeveloper-level relateduser to trackingyour Mailgun account.
    6. On the Admin portal, hover over System Configuration and receivingclick emails.System Settings.
    7. Click the Third Party tab. 
    8. Add your Mailgun domain and Private API key in the settings.
    Option 3: Simple SPF Security (Basic Setup)

    Add the following to your SPF record (in DNS) to allow OPSCOM servers to send email on your domains behalf.

    Atip4:209.217.117.82/32  include:_spf.mailgun.org 

    Please note that this time,is weonly dofirst notline requiregeneralized thesecurity. optionalFor DNSmore recordsdetails inclick ourhere: setup.https://www.dmarcanalyzer.com/spf/