Support » Plugin: Invoice King Pro » PDF email not working

  • Resolved Mark

    (@mstaaij)


    Hi, the pdf email function emails all emails to your test mailbox [removed]

    This is set on line 266 of admin_area.php. =)

    So I removed the remarks from the lines before that and remarked the line 266 and it works now. So I think the code from line 261-266 must be something like this:

    if (isset($invoice[0]->custom['invkp_selected_client_email'][0]) && $invoice[0]->custom['invkp_selected_client_email'][0] !== '')
            $email = $invoice[0]->custom['invkp_selected_client_email'][0];
        elseif (isset($invoice[0]->custom['invkp_client_email'][0]) && $invoice[0]->custom['invkp_client_email'][0] !== '')
            $email = $invoice[0]->custom['invkp_client_email'][0];
        else header("Location: ".$_SERVER['HTTP_REFERER']."&send=0");
    //    $email = <em>[removed]</em>;

    Regards, Mark
    http://wordpress.org/extend/plugins/invoice-king-pro/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ash Durham

    (@ashdurham)

    Hi mark,

    Please make sure that you update to the latest version of the plugin (in this case 1.0.1) as this was fixed up in that version.

    For those wondering, the email address was in there from testing and was forgotten to be removed.

    Also mark, please remove my email address from your post by editing it as I can moderate the posts.

    Thanks

    Ash

    Thread Starter Mark

    (@mstaaij)

    Oops.. No option for editing anymore… Any tips?

    Thread Starter Mark

    (@mstaaij)

    btw Thankz for the update!
    I do seem to edit my last post, but not my first.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘PDF email not working’ is closed to new replies.