Support » Plugins » cool_blade’s wp-mail Invalid sender

  • 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:!
    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.



Viewing 2 replies - 1 through 2 (of 2 total)
  • 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>
    } else {
    return ‘TRUE’;
    ==============change into================
    return ‘TRUE’;

    Greetings Fiveblades

    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.