• c0c0c0

    (@c0c0c0)


    Hello,

    I am using cool_blade’s wp-mail drop in and I sent a couple of test posts by e-mail via my sidekick 2. The cron job didn’t post it so I manualy tried to post and this is what I got:

    #!/usr/bin/php -q
    Invalid sender: [email protected]!
    Not adding email!

    So my question is where do I go to add e-mails. I would like to be able to post from multiple addresses.

    Thanks!

    Jared

Viewing 2 replies - 1 through 2 (of 2 total)
  • fiveblades

    (@fiveblades)

    the part in the wp-mail.php should be altered to make “multi poster”
    ================php code original=============

    if ( empty($from) ) { echo ‘<h1> Invalid Sender – Emtpy! </h1>’; die;}
    $sql = ‘SELECT id FROM ‘. $tableusers.’ WHERE user_email=\” . addslashes($from) . ‘\”;
    if (!$poster = $wpdb->get_var($sql))
    {
    echo ‘<h1>Invalid sender: ‘ . htmlentities($from) . ” !</h1><h2>Not adding email!</h2>
    \n”;
    die;
    } else {
    return ‘TRUE’;
    }
    }
    ==============change into================
    return ‘TRUE’;
    }

    Greetings Fiveblades

    Thread Starter c0c0c0

    (@c0c0c0)

    Worked great! Thank you Fiveblades!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘cool_blade’s wp-mail Invalid sender’ is closed to new replies.