• Resolved jenkisan

    (@jenkisan)


    Hi guys,

    looking for some help with creating a custom filter to extract some content form an email.

    I am sending an email I receive to postie but I want postie to extract some content between some html tags and post only THAT content extracted, nothing else.

    For example,

    <tbody>
    <tr>
    <td nowrap=”nowrap” width=”20%”><b>Performance</b></td>
    <td align=”right” nowrap=”nowrap” width=”40%”><b>Since Launch on 08/04/15</b></td>
    <td align=”right” nowrap=”nowrap” width=”40%”><b>Since Subscribed on 08/04/15</b></td>
    </tr>
    <tr>
    <td nowrap=”nowrap”>- Millennial -</td>
    <td align=”right” nowrap=”nowrap”><span style=”color: #000000;”>3.55%</span></td>
    <td align=”right” nowrap=”nowrap”><span style=”color: #000000;”>3.55%</span></td>
    </tr>
    <tr>
    <td nowrap=”nowrap”>S&P 500</td>
    <td align=”right” nowrap=”nowrap”><span style=”color: #ff0000;”>-0.98%</span></td>
    <td align=”right” nowrap=”nowrap”><span style=”color: #ff0000;”>-0.98%</span></td>
    </tr>
    </tbody>

    I want to grab only the first <tr> or perhaps the whole <tbody> tag form the email.

    Any help greatly appreciated!!! I could really find any postie filters to build this idea upon.

    Thanks.

    https://www.ads-software.com/plugins/postie/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Help with filterpostie.php on email text’ is closed to new replies.