Skip to content
mailroom

Usage

Mailroom does not require new template tags. Existing ExpressionEngine email sends continue to use the normal EE APIs and template tags once routing is enabled.

Mailroom itself does not require ExpressionEngine's Email module for transport tests, logging, diagnostics, or routing core EE email. The sample below uses {exp:email:contact_form}, so that specific form does require the EE Email module to be installed. Third-party form add-ons can still work with Mailroom when they send through EE's email service and trigger the normal email hook.

Basic EE Contact Form

{exp:email:contact_form
    recipients="you@example.com"
    return="/contact/thank-you"
    charset="utf-8"
}
    <p>
        <label for="name">Name</label>
        <input id="name" type="text" name="name" required>
    </p>

    <p>
        <label for="from">Email</label>
        <input id="from" type="email" name="from" required>
    </p>

    <p>
        <label for="subject">Subject</label>
        <input id="subject" type="text" name="subject" value="Website inquiry" required>
    </p>

    <p>
        <label for="message">Message</label>
        <textarea id="message" name="message" rows="8" required></textarea>
    </p>

    <input type="hidden" name="required" value="name|from|subject|message">
    <button type="submit">Send</button>
{/exp:email:contact_form}

After submission, check Email Log. If nothing appears, confirm routing is enabled in Settings and the email hook passes in Diagnostics.