Fork me on GitHub

Postnuke related Outbind mailer problem  Bottom

  • As the Mail function in PHP is lacky i tend to use the phpmailer extension. But here it goes.. Postnuke fucks up links. Let me explain.


    When i do a form POST and post some data

    Code

    (the data is html, example: this is a test <a href="http://www.site.com">url</a>)


    When i try to debug it and catch it (with $HTTP_POST_VARS['message']) before it hits the mailserver it looks lke this, and gives the end result:

    Code

    this is a test url (with the url link: http://www.site.com/"http://www.site.com/")


    It gets even weirder.. The mail looks almost the same, except the URL link is a little different, but something like this:

    Code

    outbind://4329746234872/"http://www.site.com/"


    When i copy the exact same script outside Postnuke it works like a charm.
    So something in Postnuke is criples my post strings.

This list is based on users active over the last 60 minutes.