Does not intercept emails sent via CiviCRM

kripaludas - November 3, 2007 - 17:39
Project:Reroute Email
Version:5.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

Unfortunately, this excellent module does not intercept individual or bulk emails sent out via the CiviCRM module. Even in the standard CiviCRM install (without CiviMail), this module does not intercept emails from CiviCRM. We are trying to create a safer testing sandbox for CiviCRM for our process team to explore.

Any chance, this functionality could be added to "Reroute Email"?

Here is source from a CiviCRM mail form:

<dl>
<dt>From</dt>
<dd>"User Name"&lt;user@email.org&gt;</dd>
<dt><label for="to">To</label></dt>
<dd>"User Name" &lt;user@email.org&gt; Home (preferred)<input name="to" value="user@email.org" id="to" type="hidden"></dd>
<dt><label for="template">Select Template</label></dt>
<dd><span style="width: 300px;" _="whitespace and CR's between tags adds &nbsp; in FF" class="dojoComboBoxOuter dj_gecko form-select">
        <input style="display: none;" tabindex="-1" name="template" value="" dojoattachpoint="comboBoxValue">
        <input style="display: none;" tabindex="-1" name="template_selected" value="" dojoattachpoint="comboBoxSelectionValue">
        <input style="width: 300px;" autocomplete="off" class="dojoComboBox form-select" dojoattachevent="key:_handleKeyEvents; keyUp: onKeyUp; compositionEnd; onResize;" dojoattachpoint="textInputNode" type="text"><img style="width: 14px; height: 14px;" class="dojoComboBox form-select" dojoattachpoint="downArrowNode" dojoattachevent="onMouseUp: handleArrowClick; onResize;" src="http://www.testsite.org/drupal/sites/all/modules/civicrm/packages/dojo/src/widget/templates/images/combo_box_arrow.png" hspace="0" vspace="0">
     <span class="dojoComboBoxOptions" style="display: none; position: absolute;"></span></span></dd>
<dt><label for="subject">  Subject
   <span class="marker" title="This field is required.">*</span></label>
</dt>
<dd><input maxlength="255" size="45" name="subject" id="subject" class="form-text huge required" type="text"></dd>
<dt><label for="message">Message</label></dt>
<dd><textarea cols="56" rows="7" onkeyup="return verify(this)" name="message" id="message" class="form-textarea"></textarea></dd>

<div style="display: none;" id="editMessageDetails" class="form-item">

<dl>
    <dt>&nbsp;</dt>
<dd>
<input name="updateTemplate" value="1" id="qf_2f8d56" class="form-checkbox" type="checkbox">&nbsp;<label for="qf_2f8d56">Update Template</label>
</dd>
    <dt>&nbsp;</dt>
<dd>
<input onclick="showSaveDetails(this)" name="saveTemplate" value="1" id="qf_5ec75b" class="form-checkbox" type="checkbox">&nbsp;<label for="qf_5ec75b">Save as New Template</label>
</dd>
</dl>
</div>

<div style="display: none;" id="saveDetails" class="form-item">
<dl>
    <dt><label for="saveTemplateName">Template Title</label>
    </dt>
<dd><input name="saveTemplateName" id="saveTemplateName" class="form-text" type="text"></dd>
</dl>
</div>

<dt></dt>
<dd>
<input class="form-submit default" name="_qf_Email_next" value="Send Email" type="submit">
<input class="form-submit" name="_qf_Email_cancel" value="Cancel" type="submit">
</dd>
</dl>

#1

kbahey - April 2, 2008 - 21:17
Status:active» postponed (maintainer needs more info)

I do not run CiviCRM, but perhaps it does not use the drupal_mail() hook, and calls PHP's mail() function directly.

In this case, nothing can be done in this module to make it work.

 
 

Drupal is a registered trademark of Dries Buytaert.